summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@anakreon.cz>2014-08-27 13:45:32 +0200
committerMartin Stransky <stransky@anakreon.cz>2014-08-27 13:45:32 +0200
commit2b16776365411b15d97f5fbe82005fc67625b9c3 (patch)
tree3022f6d2165e0da8a377fb58387cf3148989d4c3
parentUpdate to Firefox 31 build 1 (diff)
downloadlibrewolf-fedora-ff-2b16776365411b15d97f5fbe82005fc67625b9c3.tar.gz
librewolf-fedora-ff-2b16776365411b15d97f5fbe82005fc67625b9c3.tar.bz2
librewolf-fedora-ff-2b16776365411b15d97f5fbe82005fc67625b9c3.zip
Build fix - make security warnings non-fatal
-rw-r--r--firefox.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/firefox.spec b/firefox.spec
index 4750b41..297b385 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -356,7 +356,9 @@ find ./ -name config.guess -exec cp /usr/lib/rpm/config.guess {} ';'
#
MOZ_OPT_FLAGS=$(echo "$RPM_OPT_FLAGS" | %{__sed} -e 's/-Wall//')
#rhbz#1037063
-MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -Wformat-security -Wformat -Werror=format-security"
+# -Werror=format-security causes build failures when -Wno-format is explicitly given
+# for some sources
+MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -Wformat-security -Wformat"
%if %{?debug_build}
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-O2//')
%endif
bgstack15