Преглед изворни кода

Disable assertions for release build.

Joshua Haberman пре 5 година
родитељ
комит
e1b42ab946
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      php/tests/compile_extension.sh

+ 1 - 1
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'