From f2d3869a87cd67b5f17fbeb12317a2b0f0103f1f Mon Sep 17 00:00:00 2001 From: Rani Hod Date: Mon, 18 Sep 2006 18:13:33 +0000 Subject: 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 --- tools/configure | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/configure b/tools/configure index c1c942a..837a107 100755 --- a/tools/configure +++ b/tools/configure @@ -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 -- cgit v1.1