From 0bb4208467dcfc49389037defe6ce7f291807901 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 23 Nov 2010 17:39:31 +0000 Subject: [PATCH 1/1] build: Don't emit warnings about stack protector failures. These are seen on gcc 4.5.1 used in Ubuntu. --- configure.ac | 2 ++ daemon/configure.ac | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 20f0c7a..94995f1 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 2be84a8..7d817d7 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]) -- 1.8.3.1