Skip to content

Commit

Permalink
dbg
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Jan 27, 2025
1 parent 1fd52b8 commit 73af7e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bootstrap/src/core/build_steps/llvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,7 @@ fn configure_cmake(
if builder.config.llvm_clang_cl.is_some() {
cflags.push(format!(" --target={target}"));
}
dbg!(&cflags);
cfg.define("CMAKE_C_FLAGS", cflags);
let mut cxxflags: OsString =
builder.extra_cflags(target, GitRepo::Llvm, CLang::Cxx).join(" ").into();
Expand All @@ -776,6 +777,7 @@ fn configure_cmake(
if builder.config.llvm_clang_cl.is_some() {
cxxflags.push(format!(" --target={target}"));
}
dbg!(&cxxflags);
cfg.define("CMAKE_CXX_FLAGS", cxxflags);
if let Some(ar) = builder.ar(target) {
if ar.is_absolute() {
Expand Down Expand Up @@ -822,6 +824,8 @@ fn configure_cmake(
if env::var_os("SCCACHE_ERROR_LOG").is_some() {
cfg.env("RUSTC_LOG", "sccache=warn");
}

dbg!(&cfg);
}

fn configure_llvm(builder: &Builder<'_>, target: TargetSelection, cfg: &mut cmake::Config) {
Expand Down

0 comments on commit 73af7e4

Please sign in to comment.