1. removed -g from default coldfire GCCOPTS (still active for debug builds).
2. enabled GCCOPTIMIZE for all non-debug builds, e.g., logf builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10994 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e946c9e906
commit
f2d3869a87
1 changed files with 4 additions and 3 deletions
7
tools/configure
vendored
7
tools/configure
vendored
|
@ -207,7 +207,7 @@ calmrisccc () {
|
|||
|
||||
coldfirecc () {
|
||||
prefixtools m68k-elf-
|
||||
GCCOPTS="$CCOPTS -g -m5206e -Wa\,-m5249 -malign-int -mstrict-align"
|
||||
GCCOPTS="$CCOPTS -m5206e -Wa\,-m5249 -malign-int -mstrict-align"
|
||||
GCCOPTIMIZE="-fomit-frame-pointer"
|
||||
endian="big"
|
||||
}
|
||||
|
@ -311,7 +311,6 @@ whichdevel () {
|
|||
if [ "yes" = "$profile" ]; then
|
||||
extradefines="$extradefines -DRB_PROFILE"
|
||||
PROFILE_OPTS="-finstrument-functions"
|
||||
GCCOPTS="$GCCOPTS $GCCOPTIMIZE"
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -1172,11 +1171,13 @@ fi
|
|||
*)
|
||||
debug=""
|
||||
echo "Normal build selected"
|
||||
GCCOPTS="$GCCOPTS $GCCOPTIMIZE"
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
if [ -z "$debug" ]; then
|
||||
GCCOPTS="$GCCOPTS $GCCOPTIMIZE"
|
||||
fi
|
||||
|
||||
whichaddr
|
||||
|
||||
|
|
Loading…
Reference in a new issue