summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Suchý <msuchy@redhat.com>2017-11-08 09:31:15 +0000
committerJan Horak <jhorak@localhost.localdomain>2017-11-09 11:41:02 +0100
commit151cfe2392549460ec843cc5ba770e6e32f24f40 (patch)
tree82b6465f70df6b151faf4f5efac81cd38df1f1a4
parentremove defattr (diff)
downloadlibrewolf-fedora-ff-151cfe2392549460ec843cc5ba770e6e32f24f40.tar.gz
librewolf-fedora-ff-151cfe2392549460ec843cc5ba770e6e32f24f40.tar.bz2
librewolf-fedora-ff-151cfe2392549460ec843cc5ba770e6e32f24f40.zip
use modern macro optflags
-rw-r--r--firefox.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/firefox.spec b/firefox.spec
index 775527c..c2050d3 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -492,7 +492,7 @@ find ./ -name config.guess -exec cp /usr/lib/rpm/config.guess {} ';'
#
# Disable C++ exceptions since Mozilla code is not exception-safe
#
-MOZ_OPT_FLAGS=$(echo "$RPM_OPT_FLAGS" | %{__sed} -e 's/-Wall//')
+MOZ_OPT_FLAGS=$(echo "%{optflags}" | %{__sed} -e 's/-Wall//')
#rhbz#1037063
# -Werror=format-security causes build failures when -Wno-format is explicitly given
# for some sources
bgstack15