conditionalize gcc-specific flags
This commit is contained in:
parent
67bb28d858
commit
06f7690534
@ -53,9 +53,12 @@ fi
|
||||
|
||||
CFLAGS='-I./include -I $(top_srcdir)/include -Wall -W'
|
||||
if test x$debug = xtrue; then
|
||||
CFLAGS="$CFLAGS -g -O0 -DDEBUG"
|
||||
CFLAGS="$CFLAGS -g -O0 -DDEBUG"
|
||||
else
|
||||
CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -DNDEBUG"
|
||||
CFLAGS="$CFLAGS -O3 -DNDEBUG"
|
||||
if test x$GCC = xyes; then
|
||||
CFLAGS="$CFLAGS -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions"
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_OUTPUT( Makefile \
|
||||
|
Loading…
Reference in New Issue
Block a user