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 15:08:04 -0400
committerJune McEnroe <june@causal.agency>2020-09-29 15:08:04 -0400
commitbfce2a30014ef361a15d4b653b3810fcd53d991c (patch)
tree53cc6b806c2c035360424219b9bc3eb772c3e234 /m4/check-hardening-options.m4
parentbuild: Add README.7 to EXTRA_DIST (diff)
parentImport LibreSSL 3.2.1 (diff)
downloadlibretls-bfce2a30014ef361a15d4b653b3810fcd53d991c.tar.gz
libretls-bfce2a30014ef361a15d4b653b3810fcd53d991c.zip
Merge LibreSSL 3.2.1 into master 3.2.1
No changes in libtls.
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]])