mirror of
https://github.com/php/php-src.git
synced 2024-11-29 12:53:37 +08:00
/Gz and /RTC1 is for debug builds
This commit is contained in:
parent
bcade7ced4
commit
720938f4ad
@ -88,8 +88,10 @@ if (VCVERS < 14) {
|
||||
// Enable automatic precompiled headers
|
||||
ADD_FLAG('CFLAGS', ' /YX ');
|
||||
|
||||
// Set some debug/release specific options
|
||||
ADD_FLAG('CFLAGS', ' /GZ ');
|
||||
if (PHP_DEBUG == "yes") {
|
||||
// Set some debug/release specific options
|
||||
ADD_FLAG('CFLAGS', ' /GZ ');
|
||||
}
|
||||
}
|
||||
|
||||
if (VCVERS >= 14) {
|
||||
@ -97,8 +99,10 @@ if (VCVERS >= 14) {
|
||||
// disable annoying warnings
|
||||
ADD_FLAG('CFLAGS', ' /wd4996 ');
|
||||
|
||||
// Set some debug/release specific options
|
||||
ADD_FLAG('CFLAGS', ' /RTC1 ');
|
||||
if (PHP_DEBUG == "yes") {
|
||||
// Set some debug/release specific options
|
||||
ADD_FLAG('CFLAGS', ' /RTC1 ');
|
||||
}
|
||||
}
|
||||
|
||||
// General link flags
|
||||
|
Loading…
Reference in New Issue
Block a user