8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 16:43:03 +01:00

Avoid dumb '-g -O2' autoconf's default in make.defaults

This commit is contained in:
alexpeshkoff 2009-04-20 14:57:22 +00:00
parent 55bd0f67fb
commit d1732daad3

View File

@ -333,6 +333,13 @@ AC_ARG_ENABLE(debug,
esac])
AC_SUBST(PROD_BUILD_FLG)
dnl Avoid dumb '-g -O2' autoconf's default
dnl Debugging information and optimization flags should be set in prefix.$platform file
dnl Should be replaced with AC_PROG_GCC_DEFAULT_FLAGS() when available
if test "$CFLAGS" = "-g -O2" -o "$CFLAGS" = "-g" -o "$CFLAGS" = "-O2"; then
CFLAGS=
fi
dnl Find out how to use threads on this platform
pre_acx_pthread_cflags=$CFLAGS
ACX_PTHREAD([