summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--daemon/configure.ac2
2 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 20f0c7aa..94995f1e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -115,6 +115,8 @@ if test "$gl_gcc_warnings" = yes; then
nw="$nw -Wpacked" # Allow attribute((packed)) on structs
nw="$nw -Wlong-long" # Allow long long since it's required
# by Python, Ruby and xstrtoll.
+ nw="$nw -Wstack-protector" # Don't warn about stack-protector
+ # failures (seen on Ubuntu).
gl_MANYWARN_ALL_GCC([ws])
gl_MANYWARN_COMPLEMENT([ws], [$ws], [$nw])
diff --git a/daemon/configure.ac b/daemon/configure.ac
index 2be84a86..7d817d7e 100644
--- a/daemon/configure.ac
+++ b/daemon/configure.ac
@@ -91,6 +91,8 @@ if test "$gl_gcc_warnings" = yes; then
# was not possible, safe to ignore
nw="$nw -Wlong-long" # Allow long long since it's required
# by Python, Ruby and xstrtoll.
+ nw="$nw -Wstack-protector" # Don't warn about stack-protector
+ # failures (seen on Ubuntu).
gl_MANYWARN_ALL_GCC([ws])
gl_MANYWARN_COMPLEMENT([ws], [$ws], [$nw])