1
0
Fork 0
forked from len0rd/rockbox

now use -Os with patched gcc

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9856 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2006-05-01 21:34:24 +00:00
parent 5c1087beff
commit 442b58cc3d

2
tools/configure vendored
View file

@ -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"