summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorMartin Stransky <stransky@anakreon.cz>2014-08-28 09:51:18 +0200
committerMartin Stransky <stransky@anakreon.cz>2014-08-28 09:51:18 +0200
commit2af3825c8be3203bafde3af2d924d0b69723adb7 (patch)
treee78cb9fd3494dbdd4f742b924b47f7ce05a8f6ef /firefox.spec
parentBuild fix - make security warnings non-fatal (diff)
downloadlibrewolf-fedora-ff-2af3825c8be3203bafde3af2d924d0b69723adb7.tar.gz
librewolf-fedora-ff-2af3825c8be3203bafde3af2d924d0b69723adb7.tar.bz2
librewolf-fedora-ff-2af3825c8be3203bafde3af2d924d0b69723adb7.zip
build fixes - wip
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/firefox.spec b/firefox.spec
index 297b385..d3e9dd4 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -104,6 +104,7 @@ Source23: firefox.1
#Build patches
Patch0: firefox-install-dir.patch
+Patch1: firefox-build.patch
Patch3: mozilla-build-arm.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=814879#c3
Patch18: xulrunner-24.0-jemalloc-ppc.patch
@@ -215,6 +216,7 @@ cd %{tarballdir}
# there is a compare of config and js/config directories and .orig suffix is
# ignored during this compare.
%patch0 -p1
+%patch1 -p2 -b .build
%ifarch %{arm}
%patch3 -p2 -b .arm
@@ -358,7 +360,7 @@ MOZ_OPT_FLAGS=$(echo "$RPM_OPT_FLAGS" | %{__sed} -e 's/-Wall//')
#rhbz#1037063
# -Werror=format-security causes build failures when -Wno-format is explicitly given
# for some sources
-MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -Wformat-security -Wformat"
+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
bgstack15