Disable assertions for release build.
This commit is contained in:
parent
4936abe813
commit
e1b42ab946
@ -10,7 +10,7 @@ rm -f configure.in configure.ac
|
||||
php make-preload.php
|
||||
phpize
|
||||
if [ "$1" = "--release" ]; then
|
||||
./configure --with-php-config=$(which php-config)
|
||||
./configure --with-php-config=$(which php-config) CFLAGS="-DNDEBUG"
|
||||
else
|
||||
# To get debugging symbols in PHP itself, build PHP with:
|
||||
# $ ./configure --enable-debug CFLAGS='-g -O0'
|
||||
|
Loading…
Reference in New Issue
Block a user