summary refs log tree commit diff
path: root/m4/check-hardening-options.m4
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-09-29 14:48:15 -0400
committerJune McEnroe <june@causal.agency>2020-09-29 14:48:15 -0400
commit3b4a10a68682f3b8590450c9be75a8ed4c7307c4 (patch)
tree529011417da4c6fd12199202dffc127774e75211 /m4/check-hardening-options.m4
parentimport: Add m4/ax_add_fortify_source.m4 (diff)
downloadlibretls-3b4a10a68682f3b8590450c9be75a8ed4c7307c4.tar.gz
libretls-3b4a10a68682f3b8590450c9be75a8ed4c7307c4.zip
Import LibreSSL 3.2.1
Diffstat (limited to '')
-rw-r--r--m4/check-hardening-options.m42
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], [
 		CHECK_CFLAG([[-fno-strict-overflow]])
 
 		# _FORTIFY_SOURCE replaces builtin functions with safer versions.
-		CHECK_CFLAG([[-D_FORTIFY_SOURCE=2]])
+		AX_ADD_FORTIFY_SOURCE
 
 		# Enable read only relocations
 		CHECK_LDFLAG([[-Wl,-z,relro]])