diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/config.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.m4 b/src/config.m4 index 1958979..619dcbd 100644 --- a/src/config.m4 +++ b/src/config.m4 | |||
| @@ -31,6 +31,8 @@ CFLAGS="$CFLAGS -fstack-protector-strong" | |||
| 31 | 31 | ||
| 32 | LDFLAGS="$LDFLAGS `pcre2-config --libs8`" | 32 | LDFLAGS="$LDFLAGS `pcre2-config --libs8`" |
| 33 | 33 | ||
| 34 | AX_CHECK_COMPILE_FLAG([-Wl,-z,relro,-z,now], [LDFLAGS="$LDFLAGS -Wl,-z,relro,-z,now"], {}, [-Werror]) | ||
| 35 | |||
| 34 | if test "$PHP_DEBUG" = "yes"; then | 36 | if test "$PHP_DEBUG" = "yes"; then |
| 35 | AC_DEFINE(SP_DEBUG, 1, [Enable SP debug messages]) | 37 | AC_DEFINE(SP_DEBUG, 1, [Enable SP debug messages]) |
| 36 | CFLAGS="$CFLAGS -g -ggdb -O0" | 38 | CFLAGS="$CFLAGS -g -ggdb -O0" |
