mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Autotools: Update ax_check_compile_flag.m4 to serial 11 (#19127)
```sh wget -O build/ax_check_compile_flag.m4 \ https://cgit.git.savannah.gnu.org/cgit/autoconf-archive.git/plain/m4/ax_check_compile_flag.m4 ``` New version of AX_CHECK_COMPILE_FLAG macro now adds the -Werror flag automatically, if GNU-compatible compiler is detected.
This commit is contained in:
parent
7bf79ab666
commit
f64c6248b5
7 changed files with 25 additions and 26 deletions
|
@ -96,8 +96,7 @@ else
|
|||
"])
|
||||
|
||||
AX_CHECK_COMPILE_FLAG([-Wno-implicit-fallthrough],
|
||||
[PHP_PCRE_CFLAGS="$PHP_PCRE_CFLAGS -Wno-implicit-fallthrough"],,
|
||||
[-Werror])
|
||||
[PHP_PCRE_CFLAGS="$PHP_PCRE_CFLAGS -Wno-implicit-fallthrough"])
|
||||
|
||||
PHP_PCRE_CFLAGS=m4_normalize(["
|
||||
$PHP_PCRE_CFLAGS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue