Skip to content

Commit

Permalink
Fixed Appveyor build issue [PHP_SECURITY_FLAGS]
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyklay committed Apr 2, 2017
1 parent f3b408e commit 526d7bb
Show file tree
Hide file tree
Showing 5 changed files with 105 additions and 90 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ docs/* linguist-documentation

*.sql linguist-language=SQL

*.w32 linguist-language=JavaScript

ext/* linguist-vendored
build/* linguist-vendored

Expand Down
5 changes: 4 additions & 1 deletion build/php7/32bits/config.w32
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
ARG_ENABLE("security-flags", "Disable the compiler security flags", "yes");
if (PHP_SECURITY_FLAGS == "yes") {
ADD_FLAG("LDFLAGS", "/NXCOMPAT /DYNAMICBASE ");
}

ARG_ENABLE("phalcon", "enable phalcon", "no");

if (PHP_PHALCON != "no") {
EXTENSION("phalcon", "phalcon.zep.c", null, "-I"+configure_module_dirname);
ADD_FLAG("CFLAGS", "/D ZEPHIR_RELEASE /Oi /Ot /Oy /Ob2 /Gs /GF /Gy /GL");
Expand Down
5 changes: 4 additions & 1 deletion build/php7/64bits/config.w32
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
ARG_ENABLE("security-flags", "Disable the compiler security flags", "yes");
if (PHP_SECURITY_FLAGS == "yes") {
ADD_FLAG("LDFLAGS", "/NXCOMPAT /DYNAMICBASE ");
}

ARG_ENABLE("phalcon", "enable phalcon", "no");

if (PHP_PHALCON != "no") {
EXTENSION("phalcon", "phalcon.zep.c", null, "-I"+configure_module_dirname);
ADD_FLAG("CFLAGS", "/D ZEPHIR_RELEASE /Oi /Ot /Oy /Ob2 /Gs /GF /Gy /GL");
Expand Down
5 changes: 4 additions & 1 deletion build/php7/safe/config.w32
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
ARG_ENABLE("security-flags", "Disable the compiler security flags", "yes");
if (PHP_SECURITY_FLAGS == "yes") {
ADD_FLAG("LDFLAGS", "/NXCOMPAT /DYNAMICBASE ");
}

ARG_ENABLE("phalcon", "enable phalcon", "no");

if (PHP_PHALCON != "no") {
EXTENSION("phalcon", "phalcon.zep.c", null, "-I"+configure_module_dirname);
ADD_FLAG("CFLAGS", "/D ZEPHIR_RELEASE /Oi /Ot /Oy /Ob2 /Gs /GF /Gy /GL");
Expand Down
Loading

0 comments on commit 526d7bb

Please sign in to comment.