This commit is contained in:
CismonX 2019-09-25 11:55:55 +08:00
parent b3e445256e
commit d8d37f24a9
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ if test "$PHP_ARMA" != "no"; then
PCH_FILE='./build/armadillo.gch' PCH_FILE='./build/armadillo.gch'
# Note that '-D' option is valid when compiling PCH header, but not when using it. # Note that '-D' option is valid when compiling PCH header, but not when using it.
PCH_COMPILE_FLAGS=(-std=c++17 -xc++-header -DARMA_DONT_PRINT_ERRORS -fPIC -g) PCH_COMPILE_FLAGS=(-std=c++17 -xc++-header -DARMA_DONT_PRINT_ERRORS -fPIC -g)
if test -z "$PHP_DEBUG"; then if test "$PHP_DEBUG" != "0"; then
PCH_COMPILE_FLAGS+=(-O0) PCH_COMPILE_FLAGS+=(-O0)
else else
PCH_COMPILE_FLAGS+=(-O2) PCH_COMPILE_FLAGS+=(-O2)