Browse Source

Add spectre switch for suitable vc14 versions

pull/3533/merge
Anatol Belski 8 years ago
parent
commit
be02b2e8fd
  1. 5
      win32/build/confutils.js

5
win32/build/confutils.js

@ -3090,6 +3090,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…
Cancel
Save