unset PRC_SAVE_DESCRIPTIONS in optimized builds to reduce memory usage

This commit is contained in:
rdb 2012-02-10 15:26:53 +00:00
parent d290a193ad
commit c9138166fa

View File

@ -1833,12 +1833,12 @@ def WriteConfigSettings():
if (GetOptimize() <= 3):
dtool_config["DO_MEMORY_USAGE"] = '1'
#if (GetOptimize() <= 1):
# dtool_config["DO_PIPELINING"] = '1'
if (GetOptimize() <= 3):
dtool_config["NOTIFY_DEBUG"] = '1'
if (GetOptimize() >= 4):
dtool_config["PRC_SAVE_DESCRIPTIONS"] = 'UNDEF'
# Now that we have OS_SIMPLE_THREADS, we can support
# SIMPLE_THREADS on exotic architectures like win64, so we no
# longer need to disable it for this platform.