From 42ab585fa727afeb3c5c6714d15e41697e3aea136d784a076c31e11b01edd1dc Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Mon, 24 Sep 2018 20:59:09 +0000 Subject: [PATCH] - disable rust debug symbols to fix build on %ix86 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=686 --- MozillaFirefox.changes | 1 + MozillaFirefox.spec | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/MozillaFirefox.changes b/MozillaFirefox.changes index 7fb0757..096a5ee 100644 --- a/MozillaFirefox.changes +++ b/MozillaFirefox.changes @@ -16,6 +16,7 @@ Sat Sep 22 09:03:53 UTC 2018 - astieger@suse.com * Fixed rendering of some web sites * Restored compatibility with some sites using deprecated TLS settings +- disable rust debug symbols to fix build on %ix86 ------------------------------------------------------------------- Mon Sep 3 10:47:43 UTC 2018 - wr@rosenauer.org diff --git a/MozillaFirefox.spec b/MozillaFirefox.spec index 58d8b4f..6734eac 100644 --- a/MozillaFirefox.spec +++ b/MozillaFirefox.spec @@ -13,7 +13,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -345,11 +345,15 @@ ac_add_options --enable-pie %if 0%{?suse_version} > 1320 ac_add_options --enable-optimize="-g -O2" %endif -%ifarch %ix86 %arm +%ifarch %arm %if 0%{?suse_version} > 1230 ac_add_options --disable-optimize %endif %endif +# bmo#1441155 - Disable the generation of Rust debug symbols on Linux32 +%ifarch %ix86 +ac_add_options --disable-debug-symbols +%endif %ifarch %arm ac_add_options --disable-elf-hack %endif