lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master b2190109 1/3: Install 'lld' and use it with c


From: Greg Chicares
Subject: [lmi-commits] [lmi] master b2190109 1/3: Install 'lld' and use it with clang
Date: Thu, 7 Jul 2022 05:46:38 -0400 (EDT)

branch: master
commit b21901095c6c7e7962e5275093d317f422fc21c3
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Install 'lld' and use it with clang
---
 compiler_clang.make | 1 +
 lmi_setup_20.sh     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/compiler_clang.make b/compiler_clang.make
index 2f5c010a..cfc561bc 100644
--- a/compiler_clang.make
+++ b/compiler_clang.make
@@ -203,6 +203,7 @@ all_library_directories := \
 EXTRA_LDFLAGS :=
 
 REQUIRED_LDFLAGS = \
+  -fuse-ld=lld \
   $(c_l_flags) \
   $(addprefix -L , $(all_library_directories)) \
   $(EXTRA_LDFLAGS) \
diff --git a/lmi_setup_20.sh b/lmi_setup_20.sh
index cfc2ac55..9c966afd 100755
--- a/lmi_setup_20.sh
+++ b/lmi_setup_20.sh
@@ -98,6 +98,7 @@ apt-get --assume-yes install \
   libxml2-utils \
   libunwind-dev \
   libxslt1-dev \
+  lld \
   make \
   patch \
   pkg-config \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]