File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ if( PHP_PDO_SQLSRV != "no" ) {
34
34
ADD_FLAG( "CFLAGS_PDO_SQLSRV", "/EHsc" );
35
35
ADD_FLAG( "CFLAGS_PDO_SQLSRV", "/GS" );
36
36
ADD_FLAG( "CFLAGS_PDO_SQLSRV", "/Zi" );
37
+ ADD_FLAG( "CFLAGS_PDO_SQLSRV", "/ZH:SHA_256 /sdl /W3" );
38
+ ADD_FLAG( "LDFLAGS_PDO_SQLSRV", "/CETCOMPAT" );
37
39
if (PHP_DEBUG != "yes") ADD_FLAG( "CFLAGS_PDO_SQLSRV", "/guard:cf /O2" );
38
40
ADD_FLAG( "CFLAGS_PDO_SQLSRV", "/D ZEND_WIN32_FORCE_INLINE" );
39
41
if (VCVERS >= 1913) {
Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ if( PHP_SQLSRV != "no" ) {
37
37
ADD_FLAG( "CFLAGS_SQLSRV", "/EHsc" );
38
38
ADD_FLAG( "CFLAGS_SQLSRV", "/GS" );
39
39
ADD_FLAG( "CFLAGS_SQLSRV", "/Zi" );
40
+ ADD_FLAG( "CFLAGS_SQLSRV", "/ZH:SHA_256 /sdl /W3" );
41
+ ADD_FLAG( "LDFLAGS_SQLSRV", "/CETCOMPAT" );
40
42
if (VCVERS >= 1913) {
41
43
ADD_FLAG("LDFLAGS_SQLSRV", "/d2:-guardspecload");
42
44
ADD_FLAG("CFLAGS_SQLSRV", "/Qspectre");
You can’t perform that action at this time.
0 commit comments