diff options
Diffstat (limited to 'tools/vnet/libxutil/Makefile')
-rw-r--r-- | tools/vnet/libxutil/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tools/vnet/libxutil/Makefile b/tools/vnet/libxutil/Makefile index 757e5567d6..80cbe4443e 100644 --- a/tools/vnet/libxutil/Makefile +++ b/tools/vnet/libxutil/Makefile @@ -3,11 +3,6 @@ export VNET_ROOT = $(shell cd .. && pwd) include $(VNET_ROOT)/Make.env endif -INSTALL = install -INSTALL_DATA = $(INSTALL) -m0644 -INSTALL_PROG = $(INSTALL) -m0755 -INSTALL_DIR = $(INSTALL) -d -m0755 - include $(XEN_ROOT)/tools/Rules.mk LIB_SRCS := @@ -30,6 +25,8 @@ LIB_OBJS := $(LIB_SRCS:.c=.o) PIC_OBJS := $(LIB_SRCS:.c=.opic) CFLAGS += -Werror -fno-strict-aliasing +CFLAGS += -O3 +#CFLAGS += -g # Get gcc to generate the dependencies for us. CFLAGS += -Wp,-MD,.$(@F).d @@ -58,7 +55,7 @@ libxutil.so.$(MAJOR): libxutil.so.$(MAJOR).$(MINOR) ln -sf $^ $@ libxutil.so.$(MAJOR).$(MINOR): $(PIC_OBJS) - $(CC) $(CFLAGS) -Wl,-soname -Wl,libxutil.so.$(MAJOR) -shared -o $@ $^ + $(CC) $(CFLAGS) -Wl,$(SONAME_LDFLAG) -Wl,libxutil.so.$(MAJOR) $(SHLIB_CFLAGS) -o $@ $^ libxutil.a: $(LIB_OBJS) $(AR) rc $@ $^ |