# HG changeset patch # User Rob Landley # Date 1231028890 21600 # Node ID 425a7d32446a993e99dc9076dbeddfb9d8b03ad6 # Parent 05cfe5d6daaaf90e1dd87fde7419b0393f5f069d Move $GCC_FLAGS to the end so the details filie can override everything. (Thanks Milton Miller.) diff -r 05cfe5d6daaa -r 425a7d32446a cross-compiler.sh --- 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 &&