Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Add spectre switch for suitable vc14 versions
This commit is contained in:
Anatol Belski 2018-09-18 10:46:44 +02:00
commit f608a60456

View File

@ -3210,6 +3210,11 @@ function toolset_setup_common_cflags()
/* Undocumented. */
ADD_FLAG('CFLAGS', "/d2guardspecload");
}
} else if (1900 == VCVERS) {
var subver1900 = probe_binary(PHP_CL).substr(6);
if (subver1900 >= 24241) {
ADD_FLAG('CFLAGS', "/Qspectre");
}
}
}
if (VCVERS >= 1900) {