equal
deleted
inserted
replaced
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 |