From 921ac8d6dde6df60cce9346232762794fb9efa05 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Thu, 2 Dec 2010 21:20:30 +0000 Subject: 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 --- tools/configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/configure') diff --git a/tools/configure b/tools/configure index b8d99d7aca..b8cabe79d0 100755 --- a/tools/configure +++ b/tools/configure @@ -202,7 +202,8 @@ simcc () { app_type=$1 winbuild="" - GCCOPTS='-W -Wall -g -fno-builtin' + GCCOPTS=`echo $CCOPTS | sed -e s/-ffreestanding// -e s/-nostdlib// -e s/-Wundef// -e s/-O//` + GCCOPTS="$GCCOPTS -fno-builtin -g" GCCOPTIMIZE='' LDOPTS='-lm' # button-sdl.c uses sqrt() -- cgit v1.2.3