diff options
Diffstat (limited to 'm4/check-hardening-options.m4')
-rw-r--r-- | m4/check-hardening-options.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/check-hardening-options.m4 b/m4/check-hardening-options.m4 index 3ffdb1a..869f00b 100644 --- a/m4/check-hardening-options.m4 +++ b/m4/check-hardening-options.m4 | |||
@@ -73,7 +73,7 @@ AC_DEFUN([CHECK_C_HARDENING_OPTIONS], [ | |||
73 | CHECK_CFLAG([[-fno-strict-overflow]]) | 73 | CHECK_CFLAG([[-fno-strict-overflow]]) |
74 | 74 | ||
75 | # _FORTIFY_SOURCE replaces builtin functions with safer versions. | 75 | # _FORTIFY_SOURCE replaces builtin functions with safer versions. |
76 | CHECK_CFLAG([[-D_FORTIFY_SOURCE=2]]) | 76 | AX_ADD_FORTIFY_SOURCE |
77 | 77 | ||
78 | # Enable read only relocations | 78 | # Enable read only relocations |
79 | CHECK_LDFLAG([[-Wl,-z,relro]]) | 79 | CHECK_LDFLAG([[-Wl,-z,relro]]) |