Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Don't use -latomic on macOS
Fixes build when using open-source clang. (Builds using Apple clang from Xcode
7 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.)

Closes #30093
  • Loading branch information
ryandesign authored Oct 23, 2019
commit dcfe2b2dc9d04e2a570ed0e4a822d42034ee6076
2 changes: 1 addition & 1 deletion node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
'-Wl,-bnoerrmsg',
],
}],
['OS in ("linux", "mac") and llvm_version != "0.0"', {
['OS == "linux" and llvm_version != "0.0"', {
'libraries': ['-latomic'],
}],
],
Expand Down