diff options
| -rw-r--r-- | src/config.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.m4 b/src/config.m4 index b2c6ed5..3d4c1ba 100644 --- a/src/config.m4 +++ b/src/config.m4 | |||
| @@ -16,8 +16,9 @@ PHP_ARG_ENABLE(coverage, whether to enable coverage support, | |||
| 16 | PHP_ARG_ENABLE(debug, whether to enable debug messages, | 16 | PHP_ARG_ENABLE(debug, whether to enable debug messages, |
| 17 | [ --enable-debug Enable debug messages], no, no) | 17 | [ --enable-debug Enable debug messages], no, no) |
| 18 | 18 | ||
| 19 | AC_PROG_CC_STDC() | ||
| 20 | |||
| 19 | CFLAGS="$CFLAGS" | 21 | CFLAGS="$CFLAGS" |
| 20 | CFLAGS="$CFLAGS -D_DEFAULT_SOURCE=1 -std=c99" | ||
| 21 | CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter" | 22 | CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter" |
| 22 | CFLAGS="$CFLAGS -Wformat=2 -Wformat-security -D_FORTIFY_SOURCE=2" | 23 | CFLAGS="$CFLAGS -Wformat=2 -Wformat-security -D_FORTIFY_SOURCE=2" |
| 23 | CFLAGS="$CFLAGS -fstack-protector" | 24 | CFLAGS="$CFLAGS -fstack-protector" |
