summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firefox-mozconfig1
-rw-r--r--firefox.spec7
2 files changed, 7 insertions, 1 deletions
diff --git a/firefox-mozconfig b/firefox-mozconfig
index d022604..2f09eb2 100644
--- a/firefox-mozconfig
+++ b/firefox-mozconfig
@@ -14,7 +14,6 @@ ac_add_options --enable-release
ac_add_options --update-channel=release
# Workaround for mozbz#1341234
ac_add_options BINDGEN_CFLAGS="$(pkg-config nspr pixman-1 --cflags)"
-ac_add_options --enable-av1
ac_add_options --allow-addon-sideload
export BUILD_OFFICIAL=1
diff --git a/firefox.spec b/firefox.spec
index 67449a5..347f858 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -495,6 +495,13 @@ echo "ac_add_options --enable-address-sanitizer" >> .mozconfig
echo "ac_add_options --disable-jemalloc" >> .mozconfig
%endif
+# We don't have recent nasm on Fedora 30...time to update to Fedora 31.
+%if 0%{?fedora} < 31
+ac_add_options --disable-av1
+%else
+ac_add_options --enable-av1
+%endif
+
# api keys full path
echo "ac_add_options --with-mozilla-api-keyfile=`pwd`/mozilla-api-key" >> .mozconfig
# It seems that the api key we have is for the safe browsing only
bgstack15