summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@anakreon.cz>2013-12-13 14:17:56 +0100
committerMartin Stransky <stransky@anakreon.cz>2013-12-13 14:17:56 +0100
commitd6ac14fbe3f703cde7cc341e6c1bcf86f64bc862 (patch)
treee34e63cecd09a9938ecfa6465fa3272659a2a622
parentxulrunner release update (diff)
downloadlibrewolf-fedora-ff-d6ac14fbe3f703cde7cc341e6c1bcf86f64bc862.tar.gz
librewolf-fedora-ff-d6ac14fbe3f703cde7cc341e6c1bcf86f64bc862.tar.bz2
librewolf-fedora-ff-d6ac14fbe3f703cde7cc341e6c1bcf86f64bc862.zip
Build with -Werror=format-security (rhbz#1037063)
-rw-r--r--firefox.spec7
1 files changed, 6 insertions, 1 deletions
diff --git a/firefox.spec b/firefox.spec
index a3266d2..002b32a 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -58,7 +58,7 @@
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 26.0
-Release: 2%{?pre_tag}%{?dist}
+Release: 3%{?pre_tag}%{?dist}
URL: http://www.mozilla.org/projects/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet
@@ -193,6 +193,8 @@ cd %{tarballdir}
#
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"
%if %{?debug_build}
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-O2//')
%endif
@@ -443,6 +445,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
+* Fri Dec 13 2013 Martin Stransky <stransky@redhat.com> - 26.0-3
+- Build with -Werror=format-security (rhbz#1037063)
+
* Mon Dec 9 2013 Martin Stransky <stransky@redhat.com> - 26.0-2
- Update to 26.0 Build 2
bgstack15