aboutsummaryrefslogtreecommitdiff
blob: 583f4001c9cbd438195e4dee3c974ef38874a1c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
This reverts commit 8c40426051a667673cdac9975f84cb6acd4e245f.

https://bugs.gentoo.org/933382

diff --git a/src/bootstrap/src/core/build_steps/llvm.rs b/src/bootstrap/src/core/build_steps/llvm.rs
index d4473e24039..58f351d17fa 100644
--- a/src/bootstrap/src/core/build_steps/llvm.rs
+++ b/src/bootstrap/src/core/build_steps/llvm.rs
@@ -724,8 +724,7 @@ fn configure_cmake(
             }
         }
         cfg.define("CMAKE_C_COMPILER", sanitize_cc(&cc))
-            .define("CMAKE_CXX_COMPILER", sanitize_cc(&cxx))
-            .define("CMAKE_ASM_COMPILER", sanitize_cc(&cc));
+            .define("CMAKE_CXX_COMPILER", sanitize_cc(&cxx));
     }
 
     cfg.build_arg("-j").build_arg(builder.jobs().to_string());