summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-02-07 13:57:19 +0100
committerGuido Günther <agx@sigxcpu.org>2012-02-07 13:57:19 +0100
commit8f97b0fdf31651c6fde7f5874fd17c8a8d35f6c2 (patch)
treef8011c3e893fb71a592ed38adbdc0c9070b4ccfa /m4
parentdd5f96f05630e72eea18b14dabf1b8bfd321eda6 (diff)
New upstream version 0.9.10~rc1
Diffstat (limited to 'm4')
-rw-r--r--m4/virt-compile-warnings.m47
1 files changed, 6 insertions, 1 deletions
diff --git a/m4/virt-compile-warnings.m4 b/m4/virt-compile-warnings.m4
index ba388aad1..3a428c32b 100644
--- a/m4/virt-compile-warnings.m4
+++ b/m4/virt-compile-warnings.m4
@@ -100,8 +100,13 @@ AC_DEFUN([LIBVIRT_COMPILE_WARNINGS],[
gl_WARN_ADD([-Wframe-larger-than=4096])
dnl gl_WARN_ADD([-Wframe-larger-than=256])
+ # Silence certain warnings in gnulib, and use improved glibc headers
+ AC_DEFINE([lint], [1],
+ [Define to 1 if the compiler is checking for lint.])
+ AC_DEFINE([_FORTIFY_SOURCE], [2],
+ [enable compile-time and run-time bounds-checking, and some warnings])
+
# Extra special flags
- gl_WARN_ADD([-Wp,-D_FORTIFY_SOURCE=2])
dnl -fstack-protector stuff passes gl_WARN_ADD with gcc
dnl on Mingw32, but fails when actually used
case $host in