From 2f8aa70b27b392681589bfaa4cf9101624f9d6fd Mon Sep 17 00:00:00 2001 From: Jan Horak Date: Wed, 11 Sep 2019 16:15:02 +0200 Subject: [PATCH] Fixing build issues on i686 --- thunderbird.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/thunderbird.spec b/thunderbird.spec index 32bac27..6effc4d 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -320,10 +320,11 @@ echo "ac_add_options --enable-system-ffi" >> .mozconfig echo "ac_add_options --enable-debug" >> .mozconfig echo "ac_add_options --disable-optimize" >> .mozconfig %else + %global optimize_flags "none" %ifarch ppc64le aarch64 %global optimize_flags "-g -O2" %endif - %if %{optimize_flags} != "none" + %if %{?optimize_flags} != "none" echo 'ac_add_options --enable-optimize=%{?optimize_flags}' >> .mozconfig %else echo 'ac_add_options --enable-optimize' >> .mozconfig