diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-12-02 21:20:30 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-12-02 21:20:30 +0000 |
commit | 921ac8d6dde6df60cce9346232762794fb9efa05 (patch) | |
tree | 7f33290eb2d388aa7ed49e4a4d362da1abb8492f /tools | |
parent | 589d2110dc6d7d1104554062ac5f01246c7f8acf (diff) | |
download | rockbox-921ac8d6dde6df60cce9346232762794fb9efa05.tar.gz rockbox-921ac8d6dde6df60cce9346232762794fb9efa05.zip |
Change the gcc options for sdl builds to allow for gnu99 features, it needs some fixes in other places. Fixes test_mem compilation failure on cygwin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28723 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/configure | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure index b8d99d7aca..b8cabe79d0 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -202,7 +202,8 @@ simcc () { | |||
202 | 202 | ||
203 | app_type=$1 | 203 | app_type=$1 |
204 | winbuild="" | 204 | winbuild="" |
205 | GCCOPTS='-W -Wall -g -fno-builtin' | 205 | GCCOPTS=`echo $CCOPTS | sed -e s/-ffreestanding// -e s/-nostdlib// -e s/-Wundef// -e s/-O//` |
206 | GCCOPTS="$GCCOPTS -fno-builtin -g" | ||
206 | GCCOPTIMIZE='' | 207 | GCCOPTIMIZE='' |
207 | LDOPTS='-lm' # button-sdl.c uses sqrt() | 208 | LDOPTS='-lm' # button-sdl.c uses sqrt() |
208 | 209 | ||