mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
c linker: pass -Xlinker -z -Xlinker muldefs only on Linux with -cache
This commit is contained in:
parent
c1aba95d7d
commit
30714d16d9
|
@ -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
Block a user