diff --git a/tools/configure b/tools/configure index 7e9a6e4222..2579a38933 100755 --- a/tools/configure +++ b/tools/configure @@ -263,7 +263,7 @@ simcc () { GCCOPTS=`echo $CCOPTS | sed -e s/\ -ffreestanding// -e s/\ -nostdlib// -e s/\ -Wundef//` if [ "yes" = "$use_debug" ]; then - GCCOPTS=`echo $GCCOPTS | sed -e s/\ -Os/-Og/` + GCCOPTS=`echo $GCCOPTS | sed -e s/\ -Os/\ -Og/` fi GCCOPTS="$GCCOPTS -fno-builtin -g"