changeset 564:425a7d32446a

Move $GCC_FLAGS to the end so the details filie can override everything. (Thanks Milton Miller.)
author Rob Landley <rob@landley.net>
date Sat, 03 Jan 2009 18:28:10 -0600
parents 05cfe5d6daaa
children d07f5a1af6bc
files cross-compiler.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/cross-compiler.sh	Sat Jan 03 18:26:55 2009 -0600
+++ b/cross-compiler.sh	Sat Jan 03 18:28:10 2009 -0600
@@ -33,12 +33,12 @@
 
 setupfor gcc-core build-gcc &&
 setupfor gcc-g++ build-gcc gcc-core &&
-AR_FOR_TARGET="${ARCH}-ar" "${CURSRC}/configure" $GCC_FLAGS \
+AR_FOR_TARGET="${ARCH}-ar" "${CURSRC}/configure" \
   --prefix="${CROSS}" --host=${CROSS_HOST} --target=${CROSS_TARGET} \
   --enable-languages=c,c++ --enable-long-long --enable-c99 \
   --disable-shared --disable-threads --disable-nls --disable-multilib \
   --enable-__cxa_atexit --disable-libstdcxx-pch --enable-sjlj-exceptions \
-  --program-prefix="${ARCH}-" &&
+  --program-prefix="${ARCH}-" $GCC_FLAGS &&
 
 # Try to convince gcc build process not to rebuild itself with itself.
 mkdir -p gcc &&