mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-slava86.git
synced 2025-02-24 16:02:56 +00:00
Switch to lld linker. Export additional LDFLAGS unconditionally.
This commit is contained in:
parent
526e7431c3
commit
b494ba194e
1 changed files with 3 additions and 8 deletions
|
@ -39,7 +39,7 @@
|
|||
Summary: A fast web browser based on the Blink engine
|
||||
Name: chromium-browser-stable
|
||||
Version: 69.0.3497.100
|
||||
Release: 5
|
||||
Release: 6
|
||||
License: BSD, LGPL
|
||||
Group: Networking/WWW
|
||||
Url: https://www.chromium.org/Home
|
||||
|
@ -388,18 +388,13 @@ export NM=nm
|
|||
# lld linker overrides gold linker
|
||||
# lld gave error on x86_64
|
||||
# let's use gold for now
|
||||
%define use_linker use_gold
|
||||
#Alternative to gold: define use_linker use_lld
|
||||
%define use_linker use_lld
|
||||
#Alternative to gold: define use_linker use_gold
|
||||
%define use_linker_def true
|
||||
|
||||
%if %{use_linker} == "use_lld"
|
||||
# flags to fix i586 builds
|
||||
# these flags previously were exported on all architectures, not ix86 only
|
||||
%ifarch %{ix86}
|
||||
# i386 i486 i586 i686
|
||||
export LDFLAGS="$LDFLAGS -Wl,-z,notext"
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%else
|
||||
%define is_clang false
|
||||
|
|
Loading…
Add table
Reference in a new issue