From 41ed891d5634c67f6cc490bfde0e700aede5fade Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 14 Sep 2014 13:25:29 -0700 Subject: [PATCH] Use -fstack-protector for all. Might be replaced by -fstack-protector-strong later on. --- configure.ac | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index 81b5a0dc..573416f7 100644 --- a/configure.ac +++ b/configure.ac @@ -183,19 +183,12 @@ AS_IF([test "x$enable_ssp" != "xno"],[ AS_CASE([$host_os], [cygwin*|mingw*|msys|pw32*|cegcc*], [ ], - [dragonfly*], [ + [*], [ AX_CHECK_COMPILE_FLAG([-fstack-protector], [ AX_CHECK_LINK_FLAG([-fstack-protector], [CFLAGS="$CFLAGS -fstack-protector"] ) ]) - ], - [*], [ - AX_CHECK_COMPILE_FLAG([-fstack-protector-all], [ - AX_CHECK_LINK_FLAG([-fstack-protector-all], - [CFLAGS="$CFLAGS -fstack-protector-all"] - ) - ]) ]) ])