Parcourir la source

FreeBSD arm needs clear_cache.c

MikaelUrankar il y a 6 ans
Parent
commit
275b37d66c
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      build.rs

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