forked from pool/MozillaFirefox
- 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:
parent
75f3df970c
commit
74592d9c27
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user