- switched TW/x86_64 to clang as the last platform due to
https://bugs.gentoo.org/792705 - but LTO with clang is broken in TW so disable LTO for it https://bugs.llvm.org/show_bug.cgi?id=47872 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=916
This commit is contained in:
parent
94f5a43ff8
commit
237bf575d4
@ -32,6 +32,10 @@ Sat May 29 20:55:56 UTC 2021 - Wolfgang Rosenauer <wr@rosenauer.org>
|
||||
rust-cbindgen >= 0.19.0
|
||||
- do not rely on nodejs10 packagename anymore
|
||||
- updated mozilla.keyring
|
||||
- switched TW/x86_64 to clang as the last platform due to
|
||||
https://bugs.gentoo.org/792705
|
||||
- but LTO with clang is broken in TW so disable LTO for it
|
||||
https://bugs.llvm.org/show_bug.cgi?id=47872
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 6 13:40:10 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
@ -45,13 +45,6 @@
|
||||
|
||||
# upstream default is clang (to use gcc for large parts set to 0)
|
||||
%define clang_build 1
|
||||
%if 0%{?is_opensuse} && 0%{?suse_version} >= 1550
|
||||
%ifarch x86_64
|
||||
# on Tumbleweed/x86_64 this does not work due to undefined
|
||||
# references to `__rust_probestack'
|
||||
%define clang_build 1
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# PIE, full relro
|
||||
%define build_hardened 1
|
||||
@ -512,10 +505,10 @@ 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
|
||||
#ac_add_options --enable-lto
|
||||
%if 0%{?suse_version} > 1500 && 0%{?suse_version} < 1550
|
||||
ac_add_options --enable-lto
|
||||
%if 0%{?do_profiling}
|
||||
#ac_add_options MOZ_PGO=1
|
||||
ac_add_options MOZ_PGO=1
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user