fix previous commit
This commit is contained in:
+4
-4
@@ -46,15 +46,15 @@ AC_ARG_ENABLE(debug,
|
||||
AC_MSG_RESULT($debug)
|
||||
|
||||
if test $debug = "yes"; then
|
||||
dnl Enable debugging information with minimal optimisation
|
||||
if ! echo "$CFLAGS" | grep -q -- "-g" ; then
|
||||
dnl Enable debugging information with minimal optimisation if not set differently
|
||||
dnl (the spaces before $CFLAGS and -O are significant)
|
||||
CFLAGS="$CFLAGS -g"
|
||||
fi
|
||||
if ! echo " $CFLAGS" | grep -q -- " -O" ; then
|
||||
CFLAGS="$CFLAGS -O"
|
||||
fi
|
||||
else
|
||||
dnl Maximum optimisation
|
||||
dnl Maximum optimisation if not already set
|
||||
dnl (the spaces before $CFLAGS and -O are significant)
|
||||
if ! echo " $CFLAGS" | grep -q -- " -O" ; then
|
||||
CFLAGS="$CFLAGS -O3"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user