Merge pull request #377 from vigoux/aarch64-musl-fallback

Add compiler-rt fallbacks on aarch64-musl
This commit is contained in:
Amanieu d'Antras 2020-08-24 12:45:05 +01:00 committed by GitHub
commit 9945ce884a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -419,6 +419,18 @@ mod c {
if target_os != "windows" {
sources.extend(&[("__multc3", "multc3.c")]);
}
if target_env == "musl" {
sources.extend(&[
("__addtf3", "addtf3.c"),
("__multf3", "multf3.c"),
("__subtf3", "subtf3.c"),
("__divtf3", "divtf3.c"),
("__powitf2", "powitf2.c"),
("__fe_getround", "fp_mode.c"),
("__fe_raise_inexact", "fp_mode.c"),
]);
}
}
if target_arch == "mips" {