diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-06-09 20:07:33 +0000 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-06-09 20:07:33 +0000 |
commit | bd031b9bbc9f16a3ee3e00d84772605825369d96 (patch) | |
tree | 7455a510c6f554b654e50a75887c5f95e73812c8 | |
parent | 996fe4998ae9ffa064fc6d087d054b5be9fbc001 (diff) | |
download | xen-bd031b9bbc9f16a3ee3e00d84772605825369d96.tar.gz xen-bd031b9bbc9f16a3ee3e00d84772605825369d96.tar.bz2 xen-bd031b9bbc9f16a3ee3e00d84772605825369d96.zip |
bitkeeper revision 1.1705 (42a8a185wutSw6hue95Thw_5_jDPZw)
Xenstore build fixes for x86/64.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
-rw-r--r-- | tools/xenstore/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile index cd4a7b3079..b5511aea3c 100644 --- a/tools/xenstore/Makefile +++ b/tools/xenstore/Makefile @@ -1,6 +1,5 @@ XEN_ROOT=../.. -# This does something wrong to TARGET_ARCH. -#include $(XEN_ROOT)/tools/Rules.mk +include $(XEN_ROOT)/tools/Rules.mk LIBDIR = lib XEN_LIBXC = $(XEN_ROOT)/tools/libxc @@ -20,7 +19,10 @@ BASECFLAGS+= -I$(XEN_ROOT)/tools/libxc BASECFLAGS+= -I$(XEN_ROOT)/xen/include/public BASECFLAGS+= -I. -CFLAGS+=$(BASECFLAGS) +CFLAGS += $(BASECFLAGS) +ifeq ($(XEN_TARGET_ARCH),x86_64) +CFLAGS += -fPIC +endif LDFLAGS=$(PROFILE) -L$(XEN_LIBXC) TESTDIR=`pwd`/testsuite/tmp TESTFLAGS=-DTESTING |