aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index e92b602..2977703 100644
--- a/configure.ac
+++ b/configure.ac
@@ -84,7 +84,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[
84 [CLANG=no] 84 [CLANG=no]
85) 85)
86AC_MSG_RESULT([$CLANG]) 86AC_MSG_RESULT([$CLANG])
87AS_IF([test "x$CLANG" == "xyes"], [CLANG_FLAGS=-Qunused-arguments]) 87AS_IF([test "x$CLANG" = "xyes"], [CLANG_FLAGS=-Qunused-arguments])
88 88
89# We want to check for compiler flag support. Prior to clang v5.1, there was no 89# We want to check for compiler flag support. Prior to clang v5.1, there was no
90# way to make clang's "argument unused" warning fatal. So we invoke the 90# way to make clang's "argument unused" warning fatal. So we invoke the
@@ -134,7 +134,7 @@ AC_DEFUN([CHECK_LDFLAG], [
134 [$2]) 134 [$2])
135]) 135])
136 136
137AS_IF([test "x$enable_hardening" == "xyes"], [ 137AS_IF([test "x$enable_hardening" = "xyes"], [
138 # Tell GCC to NOT optimize based on signed arithmetic overflow 138 # Tell GCC to NOT optimize based on signed arithmetic overflow
139 CHECK_CFLAG([[-fno-strict-overflow]]) 139 CHECK_CFLAG([[-fno-strict-overflow]])
140 140
@@ -148,7 +148,7 @@ AS_IF([test "x$enable_hardening" == "xyes"], [
148 148
149# Use stack-protector-strong if available; if not, fallback to 149# Use stack-protector-strong if available; if not, fallback to
150# stack-protector-all which is considered to be overkill 150# stack-protector-all which is considered to be overkill
151AS_IF([test "x$enable_hardening" == "xyes" -a "x$HOST_OS" != "xwin"], [ 151AS_IF([test "x$enable_hardening" = "xyes" -a "x$HOST_OS" != "xwin"], [
152 CHECK_CFLAG([[-fstack-protector-strong]], 152 CHECK_CFLAG([[-fstack-protector-strong]],
153 CHECK_CFLAG([[-fstack-protector-all]], 153 CHECK_CFLAG([[-fstack-protector-all]],
154 AC_MSG_ERROR([compiler does appear to support stack protection - use --disable-hardening to override]) 154 AC_MSG_ERROR([compiler does appear to support stack protection - use --disable-hardening to override])