ia64/xen-unstable

changeset 5403:8d70990f0858

bitkeeper revision 1.1705 (42a8a185wutSw6hue95Thw_5_jDPZw)

Xenstore build fixes for x86/64.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
author kaf24@firebug.cl.cam.ac.uk
date Thu Jun 09 20:07:33 2005 +0000 (2005-06-09)
parents e982699aa8cd
children ca1fb1af953d 77b8f9a2ca79
files tools/xenstore/Makefile
line diff
     1.1 --- a/tools/xenstore/Makefile	Thu Jun 09 18:09:15 2005 +0000
     1.2 +++ b/tools/xenstore/Makefile	Thu Jun 09 20:07:33 2005 +0000
     1.3 @@ -1,6 +1,5 @@
     1.4  XEN_ROOT=../..
     1.5 -# This does something wrong to TARGET_ARCH.
     1.6 -#include $(XEN_ROOT)/tools/Rules.mk
     1.7 +include $(XEN_ROOT)/tools/Rules.mk
     1.8  LIBDIR = lib
     1.9  XEN_LIBXC          = $(XEN_ROOT)/tools/libxc
    1.10  
    1.11 @@ -20,7 +19,10 @@ BASECFLAGS+= -I$(XEN_ROOT)/tools/libxc
    1.12  BASECFLAGS+= -I$(XEN_ROOT)/xen/include/public
    1.13  BASECFLAGS+= -I.
    1.14  
    1.15 -CFLAGS+=$(BASECFLAGS)
    1.16 +CFLAGS += $(BASECFLAGS)
    1.17 +ifeq ($(XEN_TARGET_ARCH),x86_64)
    1.18 +CFLAGS += -fPIC
    1.19 +endif
    1.20  LDFLAGS=$(PROFILE) -L$(XEN_LIBXC)
    1.21  TESTDIR=`pwd`/testsuite/tmp
    1.22  TESTFLAGS=-DTESTING