FreeBSD arm needs clear_cache.c

This commit is contained in:
MikaelUrankar 2019-02-02 19:52:41 +01:00
parent 61a3c5a89d
commit 275b37d66c
1 changed files with 4 additions and 0 deletions

View File

@ -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.
// Second are little-endian only, so build fail on big-endian targets.
// Temporally workaround: exclude these files for big-endian targets.