diff options
author | Martin Stransky <stransky@redhat.com> | 2017-03-02 12:04:42 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2017-03-02 12:04:42 +0100 |
commit | 8f7194471336d00ec981d328505e9f496bd51d3e (patch) | |
tree | 777837c069e322daa47ac5e1a977988ab79c2600 | |
parent | Test another ARMv7 build setup (rhbz#1426850) (diff) | |
download | librewolf-fedora-ff-8f7194471336d00ec981d328505e9f496bd51d3e.tar.gz librewolf-fedora-ff-8f7194471336d00ec981d328505e9f496bd51d3e.tar.bz2 librewolf-fedora-ff-8f7194471336d00ec981d328505e9f496bd51d3e.zip |
fixed optimize_flags condition
-rw-r--r-- | firefox.spec | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firefox.spec b/firefox.spec index 0ef1399..9bd8f35 100644 --- a/firefox.spec +++ b/firefox.spec @@ -342,6 +342,7 @@ echo "ac_add_options --enable-debug" >> .mozconfig echo "ac_add_options --disable-optimize" >> .mozconfig echo "ac_add_options --enable-dtrace" >> .mozconfig %else +%define optimize_flags "none" # Fedora 26 (gcc7) needs to disable default build flags (mozbz#1342344) %if 0%{?fedora} > 25 %ifnarch s390 s390x @@ -355,7 +356,7 @@ echo "ac_add_options --enable-dtrace" >> .mozconfig %ifarch ppc64le aarch64 %define optimize_flags "-g -O2" %endif -%if %{?optimize_flags} +%if %{optimize_flags} != "none" echo 'ac_add_options --enable-optimize=%{?optimize_flags}' >> .mozconfig %else echo 'ac_add_options --enable-optimize' >> .mozconfig |