Disable assertions for release build.

pull/8006/head
Joshua Haberman 4 years ago
parent 4936abe813
commit e1b42ab946
  1. 2
      php/tests/compile_extension.sh

@ -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…
Cancel
Save