diff options
Diffstat (limited to 'tools/configure')
-rwxr-xr-x | tools/configure | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure index bf96bf0058..2016dd4dfb 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -260,7 +260,11 @@ simcc () { | |||
260 | 260 | ||
261 | app_type=$1 | 261 | app_type=$1 |
262 | winbuild="" | 262 | winbuild="" |
263 | GCCOPTS=`echo $CCOPTS | sed -e s/-ffreestanding// -e s/-nostdlib// -e s/-Wundef//` | 263 | GCCOPTS=`echo $CCOPTS | sed -e s/\ -ffreestanding// -e s/\ -nostdlib// -e s/\ -Wundef//` |
264 | |||
265 | if [ "$debug" ]; then | ||
266 | GCCOPTS=`echo $GCCOPTS | sed -e s/\ -Os//` | ||
267 | fi | ||
264 | 268 | ||
265 | GCCOPTS="$GCCOPTS -fno-builtin -g" | 269 | GCCOPTS="$GCCOPTS -fno-builtin -g" |
266 | 270 | ||