We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4568618 commit f98d8f6Copy full SHA for f98d8f6
win32/build/confutils.js
@@ -2856,7 +2856,9 @@ function toolset_setup_common_cflags()
2856
ADD_FLAG('CFLAGS', ' /RTC1 ');
2857
} else {
2858
if (VCVERS >= 1900) {
2859
- ADD_FLAG('CFLAGS', "/guard:cf");
+ if (PHP_SECURITY_FLAGS == "yes") {
2860
+ ADD_FLAG('CFLAGS', "/guard:cf");
2861
+ }
2862
}
2863
2864
@@ -2888,7 +2890,9 @@ function toolset_setup_common_ldlags()
2888
2890
2889
2891
if (VS_TOOLSET) {
2892
- ADD_FLAG('LDFLAGS', "/GUARD:CF");
2893
2894
+ ADD_FLAG('LDFLAGS', "/GUARD:CF");
2895
2896
2897
2898
0 commit comments