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:
parent
5c1087beff
commit
442b58cc3d
1 changed files with 1 additions and 1 deletions
2
tools/configure
vendored
2
tools/configure
vendored
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue