From 33880ac24ce53e3c4a1c0c1f5b48dd6c800f2aa6 Mon Sep 17 00:00:00 2001 From: Dmitry Butskoy Date: Dec 18 2013 22:07:51 +0000 Subject: handle -Werror=format-security --- diff --git a/seamonkey.spec b/seamonkey.spec index b533f8e..6dbfd6f 100644 --- a/seamonkey.spec +++ b/seamonkey.spec @@ -177,6 +177,9 @@ cd %{sources_subdir} # MOZ_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | \ %{__sed} -e 's/-Wall//' -e 's/-fexceptions/-fno-exceptions/g') +# needed for -Werror=format-security +MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -Wformat" + export CFLAGS=$MOZ_OPT_FLAGS export CXXFLAGS=$MOZ_OPT_FLAGS