1
0
forked from 0ad/0ad

Define CONFIG_FINAL in Release builds, to enable better compression in codec_zlib.cpp

This was SVN commit r8740.
This commit is contained in:
Ykkrosh 2010-11-29 12:51:45 +00:00
parent 7ee0ba6e07
commit bee013b586

View File

@ -129,7 +129,7 @@ function package_set_build_flags()
package.config["Testing"].defines = { "TESTING" }
package.config["Release"].buildflags = { "no-runtime-checks", "optimize-speed" }
package.config["Release"].defines = { "NDEBUG" }
package.config["Release"].defines = { "NDEBUG", "CONFIG_FINAL=1" }
-- required for the lowlevel library. must be set from all packages that use it, otherwise it assumes it is
-- being used as a DLL (which is currently not the case in 0ad)