mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-17 21:35:37 +03:00
[TOOLS] Make sure settings compiler uses GCC from installed toolchain
This commit is contained in:
parent
dcfc1d4036
commit
cde7eb6b94
2 changed files with 4 additions and 4 deletions
|
@ -34,7 +34,7 @@ class Compiler
|
|||
# Look for the compiler in PATH manually, since there
|
||||
# are some issues with the built-in search by spawn()
|
||||
# on Windows if PATH contains spaces.
|
||||
dirs = (ENV["PATH"] || "").split(File::PATH_SEPARATOR)
|
||||
dirs = (ENV["CPP_PATH"] || "").split(File::PATH_SEPARATOR)
|
||||
bin = "arm-none-eabi-g++"
|
||||
dirs.each do |dir|
|
||||
p = File.join(dir, bin)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue