We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfbdff7 commit fcaa2c8Copy full SHA for fcaa2c8
unofficial.gni
@@ -263,7 +263,7 @@ template("node_gn_build") {
263
ldflags = [ "/OPT:NOICF" ] # link.exe, but also lld-link.exe.
264
} else if (is_apple && !use_lld) {
265
ldflags = [ "-Wl,-no_deduplicate" ] # ld64.
266
- } else if (use_gold || use_lld) {
+ } else if ((!is_apple && use_gold) || use_lld) {
267
ldflags = [ "-Wl,--icf=none" ]
268
}
269
0 commit comments