Prepending ./configure generated options to CFLAGS rather than appending them
This commit is contained in:
parent
113358daea
commit
8b2af3ac36
10
configure.ac
10
configure.ac
@ -133,15 +133,15 @@ AC_ARG_ENABLE(debug,
|
|||||||
, enable_debug=yes)
|
, enable_debug=yes)
|
||||||
if test x$enable_debug != xyes; then
|
if test x$enable_debug != xyes; then
|
||||||
if test x$GCC = xyes; then
|
if test x$GCC = xyes; then
|
||||||
CFLAGS="$CFLAGS -O3"
|
CFLAGS="-O3 $CFLAGS"
|
||||||
CFLAGS="$CFLAGS -fexpensive-optimizations"
|
CFLAGS="-fexpensive-optimizations $CFLAGS"
|
||||||
fi
|
fi
|
||||||
CFLAGS="$CFLAGS -DNDEBUG"
|
CFLAGS="-DNDEBUG $CFLAGS"
|
||||||
else
|
else
|
||||||
if test x$GCC = xyes; then
|
if test x$GCC = xyes; then
|
||||||
CFLAGS="$CFLAGS -g -pedantic -Wall"
|
CFLAGS="-g -pedantic -Wall $CFLAGS"
|
||||||
fi
|
fi
|
||||||
CFLAGS="$CFLAGS -DDEBUG"
|
CFLAGS="-DDEBUG $CFLAGS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl Verbose debug to make libisofs issue more debug messages
|
dnl Verbose debug to make libisofs issue more debug messages
|
||||||
|
Loading…
Reference in New Issue
Block a user