Skip to content

Commit 8ab748e

Browse files
ryandesigntargos
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 b48cfcc commit 8ab748e

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
@@ -292,7 +292,7 @@
292292
'-Wl,-bnoerrmsg',
293293
],
294294
}],
295-
['OS in ("linux", "mac") and llvm_version != "0.0"', {
295+
['OS == "linux" and llvm_version != "0.0"', {
296296
'libraries': ['-latomic'],
297297
}],
298298
],

0 commit comments

Comments
 (0)