about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2022-06-28 11:55:37 +0200
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2022-06-28 11:55:37 +0200
commitc1ac2df0c39ed12a4f4590319fb7b8045a5db5e5 (patch)
treea1521bef1e933b120e9c8d40163d59e812c71e9f
parent56c5c09618ed0cbdb10fe24d3a2061d74d0d75ec (diff)
Allow building the sysroot with --emit llvm-ir
-rw-r--r--build_system/build_sysroot.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_system/build_sysroot.rs b/build_system/build_sysroot.rs
index 8682204f4fd..16cce83dd9c 100644
--- a/build_system/build_sysroot.rs
+++ b/build_system/build_sysroot.rs
@@ -205,7 +205,7 @@ fn build_clif_sysroot_for_triple(
     {
         let entry = entry.unwrap();
         if let Some(ext) = entry.path().extension() {
-            if ext == "rmeta" || ext == "d" || ext == "dSYM" {
+            if ext == "rmeta" || ext == "d" || ext == "dSYM" || ext == "clif" {
                 continue;
             }
         } else {