All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] more xenstore makefile fixes
@ 2005-06-09 18:54 Jerone Young
  2005-06-16 15:59 ` Hollis Blanchard
  0 siblings, 1 reply; 2+ messages in thread
From: Jerone Young @ 2005-06-09 18:54 UTC (permalink / raw)
  To: xen-devel

This allows tools in the python directory to properly link to
libxenstore.a on x86-64.
--- tools/xenstore/Makefile.orig        2005-06-09 12:56:34.000000000
-0500
+++ tools/xenstore/Makefile     2005-06-09 13:48:06.000000000 -0500
@@ -20,6 +20,9 @@
 BASECFLAGS+= -I.

 CFLAGS+=$(BASECFLAGS)
+ifeq ($(XEN_TARGET_ARCH),x86_64)
+CFLAGS += -fPIC
+endif
 LDFLAGS=$(PROFILE) -L$(XEN_LIBXC)
 TESTDIR=`pwd`/testsuite/tmp
 TESTFLAGS=-DTESTING

-- 
Jerone Young
IBM Linux Technology Center
jyoung5@us.ibm.com
512-838-1157 (T/L: 678-1157)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] more xenstore makefile fixes
  2005-06-09 18:54 [PATCH] more xenstore makefile fixes Jerone Young
@ 2005-06-16 15:59 ` Hollis Blanchard
  0 siblings, 0 replies; 2+ messages in thread
From: Hollis Blanchard @ 2005-06-16 15:59 UTC (permalink / raw)
  To: xen-devel

On Thu, 2005-06-09 at 13:54 -0500, Jerone Young wrote:
> This allows tools in the python directory to properly link to
> libxenstore.a on x86-64.
> --- tools/xenstore/Makefile.orig        2005-06-09 12:56:34.000000000
> -0500
> +++ tools/xenstore/Makefile     2005-06-09 13:48:06.000000000 -0500
> @@ -20,6 +20,9 @@
>  BASECFLAGS+= -I.
> 
>  CFLAGS+=$(BASECFLAGS)
> +ifeq ($(XEN_TARGET_ARCH),x86_64)
> +CFLAGS += -fPIC
> +endif
>  LDFLAGS=$(PROFILE) -L$(XEN_LIBXC)
>  TESTDIR=`pwd`/testsuite/tmp
>  TESTFLAGS=-DTESTING

Position Independent Code (PIC) is needed for shared libraries on all
architectures. This has come up before, on this list even:
http://lists.xensource.com/archives/html/xen-devel/2005-02/msg00241.html

I don't expect xenstore would be very performance-critical...

--- 1.4/tools/xenstore/Makefile 2005-06-10 03:42:25 -05:00
+++ edited/Makefile     2005-06-16 10:00:53 -05:00
@@ -20,9 +20,7 @@
 BASECFLAGS+= -I.

 CFLAGS += $(BASECFLAGS)
-ifeq ($(XEN_TARGET_ARCH),x86_64)
 CFLAGS += -fPIC
-endif
 LDFLAGS=$(PROFILE) -L$(XEN_LIBXC)
 TESTDIR=`pwd`/testsuite/tmp
 TESTFLAGS=-DTESTING

Signed-off-by: Hollis Blanchard

-- 
Hollis Blanchard
IBM Linux Technology Center

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-16 15:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-09 18:54 [PATCH] more xenstore makefile fixes Jerone Young
2005-06-16 15:59 ` Hollis Blanchard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.