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,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
Block a user