Skip to content

Commit 9b7cf09

Browse files
ryandesignBridgeAR
authored andcommitted
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: #30099 Fixes: #30093 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 72c6460 commit 9b7cf09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node.gyp

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@
298298
'-Wl,-bnoerrmsg',
299299
],
300300
}],
301-
['OS in ("linux", "mac") and llvm_version != "0.0"', {
301+
['OS == "linux" and llvm_version != "0.0"', {
302302
'libraries': ['-latomic'],
303303
}],
304304
],

0 commit comments

Comments
 (0)