[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Xenstore build fixes for x86/64.



ChangeSet 1.1705, 2005/06/09 21:07:33+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx

        Xenstore build fixes for x86/64.
        Signed-off-by: Jerone Young <jyoung5@xxxxxxxxxx>



 Makefile |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)


diff -Nru a/tools/xenstore/Makefile b/tools/xenstore/Makefile
--- a/tools/xenstore/Makefile   2005-06-09 17:01:56 -04:00
+++ b/tools/xenstore/Makefile   2005-06-09 17:01:56 -04:00
@@ -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)/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

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.