Prepending ./configure generated options to CFLAGS rather than appending them
This commit is contained in:
parent
9351707d83
commit
4803a31fa4
12
configure.ac
12
configure.ac
@ -333,18 +333,18 @@ 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
|
||||||
|
|
||||||
CFLAGS="$CFLAGS $READLINE_DEF $LIBACL_DEF $XATTR_DEF $EXTF_DEF $EXTF_SUID_DEF $ZLIB_DEF $LIBJTE_DEF $XORRISO_DVD_OBS_64K"
|
CFLAGS="$READLINE_DEF $LIBACL_DEF $XATTR_DEF $EXTF_DEF $EXTF_SUID_DEF $ZLIB_DEF $LIBJTE_DEF $XORRISO_DVD_OBS_64K $CFLAGS"
|
||||||
|
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
Makefile
|
Makefile
|
||||||
|
@ -130,15 +130,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
|
||||||
|
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2010.12.12.120823"
|
#define Xorriso_timestamP "2010.12.13.123226"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user