1
Fork 0

bootstrap: configure native toolchain for run-make

This allows moving a lot of run-make-fulldeps tests to just run-make
tests, and allows running those on target-only platforms
This commit is contained in:
Jonas Schievink 2020-10-14 14:28:57 +02:00 committed by Jonas Schievink
parent 0558e6eb93
commit 77a7ccf869

View file

@ -1202,7 +1202,7 @@ note: if you're sure you want to do this, please open an issue as to why. In the
// Only pass correct values for these flags for the `run-make` suite as it
// requires that a C++ compiler was configured which isn't always the case.
if !builder.config.dry_run && suite == "run-make-fulldeps" {
if !builder.config.dry_run && matches!(suite, "run-make" | "run-make-fulldeps") {
cmd.arg("--cc")
.arg(builder.cc(target))
.arg("--cxx")