From: Richard W.M. Jones Date: Tue, 23 Nov 2010 17:39:31 +0000 (+0000) Subject: build: Don't emit warnings about stack protector failures. X-Git-Tag: 1.7.20~24 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=0bb4208467dcfc49389037defe6ce7f291807901;hp=34fe8095c52bfc2d5b0b80528aa0fdfa58154e9f build: Don't emit warnings about stack protector failures. These are seen on gcc 4.5.1 used in Ubuntu. --- 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])