diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2012-01-22 20:33:37 +0100 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2012-01-22 20:33:37 +0100 |
| commit | 74c87465950d7373fae090a575332fa66d9b7047 (patch) | |
| tree | eae4691db07b42eab1e17be020e022c60a6d9f3a /tools | |
| parent | 9f4ee795425624ed56beb6c8133d5532b7344b7b (diff) | |
| download | rockbox-74c87465950d7373fae090a575332fa66d9b7047.zip rockbox-74c87465950d7373fae090a575332fa66d9b7047.tar.gz rockbox-74c87465950d7373fae090a575332fa66d9b7047.tar.bz2 rockbox-74c87465950d7373fae090a575332fa66d9b7047.tar.xz | |
Don't filter out -O for sims.
It's not useful as it means we test code at a different -O level than
we run it at.
Fixes build errors caused by gcc 4.3. Fix some warnings
the change would introduce as well.
Change-Id: Id9ff31dc08694b0bfc5272f5e690c41f7918ed22
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/configure | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/configure b/tools/configure index ac2c66a..795966c 100755 --- a/tools/configure +++ b/tools/configure @@ -227,10 +227,6 @@ simcc () { app_type=$1 winbuild="" GCCOPTS=`echo $CCOPTS | sed -e s/-ffreestanding// -e s/-nostdlib// -e s/-Wundef//` - if [ "$app_type" != "sdl-app" ]; then - # Disable optimizations for non-app builds - GCCOPTS=`echo $GCCOPTS | sed -e s/-O//` - fi GCCOPTS="$GCCOPTS -fno-builtin -g" GCCOPTIMIZE='' |