Skip to content

Commit 8399451

Browse files
authored
Merge pull request #504 from nicholasbishop/bishop-no-uefi-asm
2 parents 1641050 + ed48e8d commit 8399451

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,8 @@ mod c {
465465
}
466466

467467
// Remove the assembly implementations that won't compile for the target
468-
if llvm_target[0] == "thumbv6m" || llvm_target[0] == "thumbv8m.base" {
468+
if llvm_target[0] == "thumbv6m" || llvm_target[0] == "thumbv8m.base" || target_os == "uefi"
469+
{
469470
let mut to_remove = Vec::new();
470471
for (k, v) in sources.map.iter() {
471472
if v.ends_with(".S") {

0 commit comments

Comments
 (0)