Override CFLAGS to sane defaults that work for both host and target

This commit is contained in:
Hector Martin 2008-03-05 14:56:48 +00:00
parent 558d39cdda
commit 44c2b0dfc2

View File

@ -34,6 +34,12 @@ LIBFAT_URL="$DEVKITPRO_URL/$LIBFAT"
LIBMIRKO_URL="$DEVKITPRO_URL/$LIBMIRKO"
GDB_URL="http://ftp.gnu.org/gnu/gdb/$GDB"
#---------------------------------------------------------------------------------
# Sane defaults for building toolchain
#---------------------------------------------------------------------------------
export CFLAGS="-O2 -pipe"
export CXXFLAGS="$CLFAGS"
unset LDFLAGS
#---------------------------------------------------------------------------------
# Look for automated configuration file to bypass prompts