WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Xenstore build fixes for x86/64.
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Thu, 09 Jun 2005 20:07:33 +0000
Delivery-date: Thu, 09 Jun 2005 21:00:57 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Xenstore build fixes for x86/64., BitKeeper Bot <=