c linker: pass -Xlinker -z -Xlinker muldefs only on Linux with -cache
parent
c1aba95d7d
commit
30714d16d9
vlib/v/builder
|
@ -317,9 +317,11 @@ fn (v mut Builder) cc() {
|
|||
}
|
||||
}
|
||||
if !is_cc_tcc {
|
||||
$if linux {
|
||||
a << '-Xlinker -z -Xlinker muldefs'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Without these libs compilation will fail on Linux
|
||||
// || os.user_os() == 'linux'
|
||||
|
|
Loading…
Reference in New Issue