Compile with -Wno-format-contains-nul

This commit is contained in:
Miroslav Lichvar 2014-05-27 14:50:08 +02:00
parent 859d8fa61f
commit 54f1b19837

View File

@ -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.