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-861f7616d084master
parent
6042e4031d
commit
ff4dd8ed3d
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue