if (VCVERS < 14) {
// Enable automatic precompiled headers
ADD_FLAG('CFLAGS', ' /YX ');
+
+ // Set some debug/release specific options
+ ADD_FLAG('CFLAGS', ' /GZ ');
}
if (VCVERS >= 14) {
// fun stuff: MS deprecated ANSI stdio and similar functions
// disable annoying warnings
ADD_FLAG('CFLAGS', ' /wd4996 ');
+
+ // Set some debug/release specific options
+ ADD_FLAG('CFLAGS', ' /RTC1 ');
}
// General link flags
// Set some debug/release specific options
if (PHP_DEBUG == "yes") {
- ADD_FLAG("CFLAGS", "/LDd /MDd /Gm /ZI /Od /GZ /D _DEBUG /D ZEND_DEBUG=1");
+ ADD_FLAG("CFLAGS", "/LDd /MDd /Gm /ZI /Od /D _DEBUG /D ZEND_DEBUG=1");
ADD_FLAG("LDFLAGS", "/debug");
// Avoid problems when linking to release libraries that use the release
// version of the libc