From 0527dd3ddec3ad75ecb296ecdb55fbe4c2ad4418 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Thu, 5 Oct 2017 16:55:41 +0200 Subject: Use clang on travis-ci (#23) --- src/config.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/config.m4 b/src/config.m4 index 04eefa2..a0409de 100644 --- a/src/config.m4 +++ b/src/config.m4 @@ -11,10 +11,10 @@ PHP_ARG_ENABLE(snuffleupagus, whether to enable snuffleupagus support, [ --enable-snuffleupagus Enable snuffleupagus support]) PHP_ARG_ENABLE(coverage, whether to enable coverage support, -[ --enable-coverage Enable coverage support]) +[ --enable-coverage Enable coverage support], no, no) PHP_ARG_ENABLE(debug, whether to enable debug messages, -[ --enable-debug Enable debug messages]) +[ --enable-debug Enable debug messages], no, no) CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -D_DEFAULT_SOURCE=1 -std=c99" @@ -33,7 +33,7 @@ AC_CHECK_LIB(pcre, pcre_compile, AC_DEFINE(HAVE_PCRE, 1, [have pcre])) if test "$PHP_SNUFFLEUPAGUS" = "yes"; then if test "$PHP_COVERAGE" = "yes"; then - CFLAGS="$CFLAGS --coverage -lgcov -O1 -g" + CFLAGS="$CFLAGS --coverage -O0 -g" fi PHP_NEW_EXTENSION(snuffleupagus, $sources, $ext_shared,-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1) fi -- cgit v1.3