1
0

- disable LTO on TW because of ICEs in gcc

OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=873
This commit is contained in:
Wolfgang Rosenauer 2020-11-20 06:19:02 +00:00 committed by Git OBS Bridge
parent 75f3df970c
commit 74592d9c27
2 changed files with 4 additions and 3 deletions

View File

@ -66,7 +66,7 @@ Sun Nov 15 12:16:53 UTC 2020 - Wolfgang Rosenauer <wr@rosenauer.org>
NSS >= 3.58
nodejs >= 10.22.1
- removed obsolete mozilla-ppc-altivec_static_inline.patch
- switch to build with clang (as gcc produces only ICEs on TW)
- disable LTO on TW because of ICEs in gcc
-------------------------------------------------------------------
Mon Nov 9 10:15:52 UTC 2020 - Wolfgang Rosenauer <wr@rosenauer.org>

View File

@ -41,7 +41,7 @@
%define do_profiling 0
# upstream default is clang (to use gcc for large parts set to 0)
%define clang_build 1
%define clang_build 0
# PIE, full relro
%define build_hardened 1
@ -508,7 +508,8 @@ ac_add_options --enable-optimize="-O1"
%endif
%ifarch x86_64
# LTO needs newer toolchain stack only (at least GCC 8.2.1 (r268506)
%if 0%{?suse_version} > 1500
# TW's gcc is currently also broken with LTO https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93951
%if 0%{?suse_version} > 1500 && 0%{?suse_version} < 1550
ac_add_options --enable-lto
%if 0%{?do_profiling}
ac_add_options MOZ_PGO=1