summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-05-01 21:34:24 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-05-01 21:34:24 +0000
commit442b58cc3d09e0651e1b64f318b86462d0042440 (patch)
treea8fd98f3fd74b41b0863cdaa40efc59752caa263
parent5c1087beff2005b4f6bb8686e4770d6e44dca827 (diff)
now use -Os with patched gcc
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9856 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-xtools/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure
index 1b85f0be6f..6779139deb 100755
--- a/tools/configure
+++ b/tools/configure
@@ -1082,7 +1082,7 @@ if test "$CC" = "sh-elf-gcc"; then
if { echo $gccpatch | grep "rockbox" >/dev/null 2>&1; } then
echo "gcc $gccver is rockbox patched"
# then convert -O to -Os to get smaller binaries!
- CCOPTS=`echo $CCOPTS | sed 's/ -O / -Os /'`
+ GCCOPTS=`echo $GCCOPTS | sed 's/ -O / -Os /'`
else
echo "WARNING: You use an unpatched gcc compiler: $gccver"
echo "WARNING: http://www.rockbox.org/twiki/bin/view/Main/CrossCompiler"