[autogen] Compile with -Wno-format-contains-nul

Miroslav Lichvar mlichvar at fedoraproject.org
Tue May 27 13:43:44 UTC 2014


commit 54f1b1983715758e17f36975578d6b1633809905
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date:   Tue May 27 14:50:08 2014 +0200

    Compile with -Wno-format-contains-nul

 autogen.spec |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/autogen.spec b/autogen.spec
index bb7b1bc..6215585 100644
--- a/autogen.spec
+++ b/autogen.spec
@@ -62,6 +62,7 @@ sed -i 's|errors.test||' autoopts/test/Makefile.in
 
 %build
 # Static libraries are needed to run test-suite.
+export CFLAGS="$RPM_OPT_FLAGS -Wno-format-contains-nul"
 %configure
 
 # Fix Libtool to remove rpaths.


More information about the scm-commits mailing list