diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2010-11-23 17:39:31 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-12-06 14:32:50 +0000 |
commit | 0bb4208467dcfc49389037defe6ce7f291807901 (patch) | |
tree | c01fea24e34bb46f2a9c097a9c25fe5991c3fd47 /configure.ac | |
parent | 34fe8095c52bfc2d5b0b80528aa0fdfa58154e9f (diff) | |
download | libguestfs-0bb4208467dcfc49389037defe6ce7f291807901.tar.gz libguestfs-0bb4208467dcfc49389037defe6ce7f291807901.tar.xz libguestfs-0bb4208467dcfc49389037defe6ce7f291807901.zip |
build: Don't emit warnings about stack protector failures.
These are seen on gcc 4.5.1 used in Ubuntu.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 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]) |