Merge pull request #273 from MikaelUrankar/freebsd_arm
FreeBSD arm needs clear_cache.c
This commit is contained in:
commit
b41ba0b570
4
build.rs
4
build.rs
|
@ -311,6 +311,10 @@ mod c {
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if target_os == "freebsd" {
|
||||||
|
sources.extend(&["clear_cache.c"]);
|
||||||
|
}
|
||||||
|
|
||||||
// First of all aeabi_cdcmp and aeabi_cfcmp are never called by LLVM.
|
// First of all aeabi_cdcmp and aeabi_cfcmp are never called by LLVM.
|
||||||
// Second are little-endian only, so build fail on big-endian targets.
|
// Second are little-endian only, so build fail on big-endian targets.
|
||||||
// Temporally workaround: exclude these files for big-endian targets.
|
// Temporally workaround: exclude these files for big-endian targets.
|
||||||
|
|
Loading…
Reference in New Issue