Skip to content

Commit

Permalink
build: remove ulp_gcc_toolchain for aarch64 linux
Browse files Browse the repository at this point in the history
  • Loading branch information
JurajSadel committed Feb 1, 2022
1 parent 3d7f43a commit 133ccc9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build/native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,13 @@ fn build_cargo_first() -> Result<EspIdfBuildOutput> {

let tools = espidf::Tools::new(
iter::once(chip.gcc_toolchain())
.chain(chip.ulp_gcc_toolchain())
.chain(
if !cfg!(target_os = "linux") && !cfg!(target_arch = "aarch64") {
chip.ulp_gcc_toolchain()
} else {
None
},
)
.chain(if cmake_generator == cmake::Generator::Ninja {
Some("ninja")
} else {
Expand Down

0 comments on commit 133ccc9

Please sign in to comment.