c linker: pass -Xlinker -z -Xlinker muldefs only on Linux with -cache
parent
c1aba95d7d
commit
30714d16d9
|
@ -317,7 +317,9 @@ fn (v mut Builder) cc() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if !is_cc_tcc {
|
if !is_cc_tcc {
|
||||||
a << '-Xlinker -z -Xlinker muldefs'
|
$if linux {
|
||||||
|
a << '-Xlinker -z -Xlinker muldefs'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue