summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCristian Rodríguez <crrodriguez@opensuse.org>2014-04-11 22:57:02 -0300
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-04-12 11:56:07 -0400
commitaca33b078cd32c5416a7fa3d5020a5d461c130ee (patch)
tree2efa46d5d4c5d627a5c05fe1799f5c7dfab146a1 /configure.ac
parent472fc28fdade525e700ebf4b25d026a8c907796d (diff)
build: if -fstack-protector-strong is available, use it.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 50741149a9..d40fb38360 100644
--- a/configure.ac
+++ b/configure.ac
@@ -156,6 +156,7 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
-ffunction-sections \
-fdata-sections \
-fstack-protector \
+ -fstack-protector-strong \
--param=ssp-buffer-size=4])
AS_CASE([$CFLAGS], [*-O[[12345\ ]]*],
[CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\