If ${WZ_FLAGS} are to be able to override the default flags

(for example, -O2), it has to be *after* ${CFLAGS} when we
sum up compiler flags. Otherwise the setting of some flags
from within configure will be rather pointless.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1199 4a71c877-e1ca-e34f-864e-861f7616d084
master
Per Inge Mathisen 2007-03-04 12:32:02 +00:00
parent 6042e4031d
commit ff4dd8ed3d
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ fi
# -DYY_STATIC is required by flex
WZ_CFLAGS="${WZ_CFLAGS} -DYY_STATIC -DDEFAULT_DATADIR=\\\"${datadir}/warzone2100\\\""
CFLAGS="${WZ_CFLAGS} ${CFLAGS}"
CFLAGS="${CFLAGS} ${WZ_CFLAGS}"
LIBS="${LIBS} ${WZ_LIBS} ${WIN32_LIBS}"
AC_CONFIG_HEADER([lib/framework/config.h])