File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -109,13 +109,12 @@ if test "$MONGODB" != "no"; then
109
109
PHP_CHECK_GCC_ARG(-Wempty-body, _MAINTAINER_CFLAGS="$_MAINTAINER_CFLAGS -Wempty-body")
110
110
PHP_CHECK_GCC_ARG(-Wparentheses, _MAINTAINER_CFLAGS="$_MAINTAINER_CFLAGS -Wparentheses")
111
111
PHP_CHECK_GCC_ARG(-Wdeclaration-after-statement, _MAINTAINER_CFLAGS="$_MAINTAINER_CFLAGS -Wdeclaration-after-statement")
112
- dnl PHP_CHECK_GCC_ARG(-Werror, _MAINTAINER_CFLAGS="$_MAINTAINER_CFLAGS -Werror")
113
112
114
113
PHP_MONGODB_FOUND_VERSION=`${PHP_CONFIG} --version`
115
114
PHP_MONGODB_FOUND_VERNUM=`echo "${PHP_MONGODB_FOUND_VERSION}" | $AWK 'BEGIN { FS = "."; } { printf "%d", ([ $] 1 * 100 + [ $] 2) * 100 + [ $] 3;}'`
116
115
117
116
if test "$PHP_MONGODB_FOUND_VERNUM" -ge "50400"; then
118
- PHP_CHECK_GCC_ARG(-Wno-cast-qual , _MAINTAINER_CFLAGS="$_MAINTAINER_CFLAGS -Wno-cast-qual ")
117
+ PHP_CHECK_GCC_ARG(-Werror , _MAINTAINER_CFLAGS="$_MAINTAINER_CFLAGS -Werror ")
119
118
fi
120
119
121
120
MAINTAINER_CFLAGS="-Wextra $_MAINTAINER_CFLAGS -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-missing-field-initializers"
You can’t perform that action at this time.
0 commit comments