diff options
author | Ryan Schmidt <git@ryandesign.com> | 2019-10-23 16:31:55 -0500 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2020-01-02 17:58:20 +0100 |
commit | 4bd0d8c22ca65ba2bd02c671048a99e414f049b8 (patch) | |
tree | c1230ea75175175bbc807b1661c79a90eeba7e44 /node.gyp | |
parent | c7f328f0dfa961399b40d874cc8053841dcdc20a (diff) | |
download | node-new-4bd0d8c22ca65ba2bd02c671048a99e414f049b8.tar.gz |
build: don't use -latomic on macOS
Fixes build when using open-source clang.
Builds using Apple clang from Xcode v7 and later were already working,
due to the fact that node's build system misidentifies their
llvm_version as "0.0" and thus the flag wasn't being added.
PR-URL: https://github.com/nodejs/node/pull/30099
Fixes: https://github.com/nodejs/node/issues/30093
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -298,7 +298,7 @@ '-Wl,-bnoerrmsg', ], }], - ['OS in ("linux", "mac") and llvm_version != "0.0"', { + ['OS == "linux" and llvm_version != "0.0"', { 'libraries': ['-latomic'], }], ], |