mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2: Add spectre switch for suitable vc14 versions
This commit is contained in:
commit
f608a60456
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user