diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-01-05 20:37:18 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2018-01-05 20:37:45 +0100 |
commit | db49f35ab8d2bbcf5b97a58b8a2eff064b942881 (patch) | |
tree | 49ad34615e0c7ae865285ee9c0f513431dcea872 /platform/server/detect.py | |
parent | 380ee87e800e44b5e930d784dfb8aeadddf637f3 (diff) |
SCons: Fix usage of LD when we meant LINK
Also made LINK and CXXFLAGS configurable as command line options.
Note that LINK currently expects the *compiler* that will be used
for linking and will call its configured linker behind the scenes
(so g++, clang++, etc., not ld.gold). See #15364 for details.
Diffstat (limited to 'platform/server/detect.py')
-rw-r--r-- | platform/server/detect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/server/detect.py b/platform/server/detect.py index ffec2af933..72c9c770e3 100644 --- a/platform/server/detect.py +++ b/platform/server/detect.py @@ -59,7 +59,7 @@ def configure(env): if ('clang++' not in env['CXX']): env["CC"] = "clang" env["CXX"] = "clang++" - env["LD"] = "clang++" + env["LINK"] = "clang++" env.Append(CPPFLAGS=['-DTYPED_METHOD_BIND']) env.extra_suffix = ".llvm" + env.extra_suffix |