]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
* acinclude.m4: applied patch from Jim Meyering to avoid clobbering
authorDaniel Veillard <veillard@redhat.com>
Mon, 26 Mar 2007 09:30:36 +0000 (09:30 +0000)
committerDaniel Veillard <veillard@redhat.com>
Mon, 26 Mar 2007 09:30:36 +0000 (09:30 +0000)
  user specified CFLAGS
Daniel

ChangeLog
acinclude.m4

index 01c66da694a8b6e48e0eeea09b2dc5b1b0bc3b0c..107600214acf1859eeabae533245ae9495b8c292 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Mar 26 11:29:43 CEST 2007 Daniel Veillard <veillard@redhat.com>
+
+       * acinclude.m4: applied patch from Jim Meyering to avoid clobbering
+         user specified CFLAGS
+
 Fri Mar 23 17:14:10 CET 2007 Daniel Veillard <veillard@redhat.com>
 
        * TODO qemud/conf.c src/virsh.c src/xend_internal.c src/xs_internal.c:
index f0f65db71cb09d5d08814081733b09852a8fe47f..b96267c1d8c45aa2c4c3c51ac32010938d480b47 100644 (file)
@@ -3,6 +3,9 @@ dnl Taken from gnome-common/macros2/gnome-compiler-flags.m4
 dnl
 dnl We've added:
 dnl   -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls
+dnl We've removed
+dnl   CFLAGS="$realsave_CFLAGS"
+dnl   to avoid clobbering user-specified CFLAGS
 dnl
 AC_DEFUN([LIBVIRT_COMPILE_WARNINGS],[
     dnl ******************************
@@ -59,8 +62,6 @@ AC_DEFUN([LIBVIRT_COMPILE_WARNINGS],[
     unset option
     unset try_compiler_flags
 
-    CFLAGS="$realsave_CFLAGS"
-
     AC_ARG_ENABLE(iso-c,
                   AC_HELP_STRING([--enable-iso-c],
                                  [Try to warn if code is not ISO C ]),,