FIXED: - the macro SUB_PROG_CFLAGS was overwritten for 64bit machines using gcc. Because of this the xenomai compilation failed.
authorChristian Taedcke <hacking@taedcke.com>
Thu, 22 Dec 2011 11:42:44 +0100
changeset 673 f511d955ac30
parent 670 e37511baf56b
child 674 352c42b20441
FIXED: - the macro SUB_PROG_CFLAGS was overwritten for 64bit machines using gcc. Because of this the xenomai compilation failed.
configure
--- a/configure	Wed Nov 02 22:37:24 2011 +0100
+++ b/configure	Thu Dec 22 11:42:44 2011 +0100
@@ -553,7 +553,7 @@
 if [ "$SUB_ARCH_NAME" = "x86_64" -a "$CC" = "gcc" ]; then
 	# Only if we are on x86_64 and using gcc
 	# For shared library generation, it needs this
-	SUB_PROG_CFLAGS=-fPIC
+	SUB_PROG_CFLAGS+=\ -fPIC
 fi
 
 if [ "$BINUTILS_PREFIX" = "" ]; then