backend/build: improve LLVM link options
Update options according to llvm-config: * delete "--stdlib=libc++" (it seems to provoke runtime link errors on Linux) * remove "-lffi" (it doesn't seem to be required) * remove "-lc++" on macOS Also move Linux system libs options to llvm.def (as for macOS)
This commit is contained in:
committed by
SvyatoslavScherbina
parent
d1a303bb25
commit
3d36973022
@@ -57,6 +57,10 @@ class NamedNativeInteropConfig implements Named {
|
||||
}
|
||||
|
||||
void linkerOpts(String... values) {
|
||||
this.linkerOpts(values.toList())
|
||||
}
|
||||
|
||||
void linkerOpts(List<String> values) {
|
||||
linkerOpts.addAll(values)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user