configure
changeset 677 54e47953df3e
parent 664 a03f0aa7d219
child 674 352c42b20441
equal deleted inserted replaced
672:3bbc9aeba925 677:54e47953df3e
   551 echo "Using ${CC} as a C compiler"
   551 echo "Using ${CC} as a C compiler"
   552 
   552 
   553 if [ "$SUB_ARCH_NAME" = "x86_64" -a "$CC" = "gcc" ]; then
   553 if [ "$SUB_ARCH_NAME" = "x86_64" -a "$CC" = "gcc" ]; then
   554 	# Only if we are on x86_64 and using gcc
   554 	# Only if we are on x86_64 and using gcc
   555 	# For shared library generation, it needs this
   555 	# For shared library generation, it needs this
   556 	SUB_PROG_CFLAGS=-fPIC
   556 	SUB_PROG_CFLAGS+=\ -fPIC
   557 fi
   557 fi
   558 
   558 
   559 if [ "$BINUTILS_PREFIX" = "" ]; then
   559 if [ "$BINUTILS_PREFIX" = "" ]; then
   560 	SUB_BINUTILS_PREFIX=`echo "$CC" | sed 's/gcc$//'`
   560 	SUB_BINUTILS_PREFIX=`echo "$CC" | sed 's/gcc$//'`
   561 else
   561 else