disable format-truncation warnings

This commit is contained in:
Miroslav Lichvar 2018-07-30 09:32:02 +02:00
parent de2d4a1661
commit c9e2139f19

View File

@ -63,7 +63,8 @@ sed -i 's|errors.test||' autoopts/test/Makefile.in
%build
# Static libraries are needed to run test-suite.
export CFLAGS="$RPM_OPT_FLAGS -Wno-implicit-fallthrough -Wno-format-overflow"
export CFLAGS="$RPM_OPT_FLAGS -Wno-implicit-fallthrough -Wno-format-overflow \
-Wno-format-truncation"
%configure
# Omit unused direct shared library dependencies.