Skip to content

Commit b41ba0b

Browse files
authored
Merge pull request #273 from MikaelUrankar/freebsd_arm
FreeBSD arm needs clear_cache.c
2 parents 61a3c5a + 275b37d commit b41ba0b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,10 @@ mod c {
311311
],
312312
);
313313

314+
if target_os == "freebsd" {
315+
sources.extend(&["clear_cache.c"]);
316+
}
317+
314318
// First of all aeabi_cdcmp and aeabi_cfcmp are never called by LLVM.
315319
// Second are little-endian only, so build fail on big-endian targets.
316320
// Temporally workaround: exclude these files for big-endian targets.

0 commit comments

Comments
 (0)