summaryrefslogtreecommitdiff
path: root/platform/javascript
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-11-19 16:47:57 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-11-19 16:48:03 +0100
commit2e4bff1cfea3843953a176656490339305a2c779 (patch)
tree1273e1a958188f8292d6645c574b6dc9a5eb6ee6 /platform/javascript
parentc9bd11a479099bf9d0e9d3cb61f9bf362e76344e (diff)
SCons: Remove unnecessary $LINK overrides
As of SCons 4.0.1, the default value for $LINK is $SMARTLINK, which itself is a function that will use $CXX as linker for C++: https://github.com/SCons/scons/blob/4.0.1/SCons/Tool/link.py#L327-L328 https://github.com/SCons/scons/blob/4.0.1/SCons/Tool/link.py#L54-L76 So we don't need to manually specify the same value as $CXX for $LINK.
Diffstat (limited to 'platform/javascript')
-rw-r--r--platform/javascript/detect.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py
index e6e35f6aa9..71189cf697 100644
--- a/platform/javascript/detect.py
+++ b/platform/javascript/detect.py
@@ -107,7 +107,6 @@ def configure(env):
env["CC"] = "emcc"
env["CXX"] = "em++"
- env["LINK"] = "emcc"
env["AR"] = "emar"
env["RANLIB"] = "emranlib"