fix bug
This commit is contained in:
parent
b3e445256e
commit
d8d37f24a9
|
@ -16,7 +16,7 @@ if test "$PHP_ARMA" != "no"; then
|
|||
PCH_FILE='./build/armadillo.gch'
|
||||
# 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)
|
||||
if test -z "$PHP_DEBUG"; then
|
||||
if test "$PHP_DEBUG" != "0"; then
|
||||
PCH_COMPILE_FLAGS+=(-O0)
|
||||
else
|
||||
PCH_COMPILE_FLAGS+=(-O2)
|
||||
|
|
Reference in New Issue