build: link with lld by default on Linux; add Xcode 14.1 to CI matrix
Change-Id: I209894f1e53f5c3b95b379e0b843be821f8a12c1
diff --git a/.waf-tools/default-compiler-flags.py b/.waf-tools/default-compiler-flags.py
index 3ba2dc3..4debb4e 100644
--- a/.waf-tools/default-compiler-flags.py
+++ b/.waf-tools/default-compiler-flags.py
@@ -137,9 +137,7 @@
def getGeneralFlags(self, conf):
flags = super(GccBasicFlags, self).getGeneralFlags(conf)
flags['CXXFLAGS'] += ['-std=c++17']
- if Utils.unversioned_sys_platform() == 'linux':
- flags['LINKFLAGS'] += ['-fuse-ld=gold']
- elif Utils.unversioned_sys_platform() == 'freebsd':
+ if Utils.unversioned_sys_platform() != 'darwin':
flags['LINKFLAGS'] += ['-fuse-ld=lld']
return flags