From 54f1b1983715758e17f36975578d6b1633809905 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: May 27 2014 12:50:28 +0000 Subject: Compile with -Wno-format-contains-nul --- 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.