mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
build: use gcc/g++ first
We currently are unable to build on MacOSX unless we give waf the --check-cxx-compiler g++. Change the compiler order to search for gcc/g++ first instead of clang/clang++.
This commit is contained in:
parent
e71c71fcac
commit
cc683c1db1
@ -104,12 +104,12 @@ _set_clang_crosscompilation_wrapper(clangxx)
|
||||
def _filter_supported_c_compilers(*compilers):
|
||||
for k in compiler_c.c_compiler:
|
||||
l = compiler_c.c_compiler[k]
|
||||
compiler_c.c_compiler[k] = [c for c in l if c in compilers]
|
||||
compiler_c.c_compiler[k] = [c for c in compilers if c in l]
|
||||
|
||||
def _filter_supported_cxx_compilers(*compilers):
|
||||
for k in compiler_cxx.cxx_compiler:
|
||||
l = compiler_cxx.cxx_compiler[k]
|
||||
compiler_cxx.cxx_compiler[k] = [c for c in l if c in compilers]
|
||||
compiler_cxx.cxx_compiler[k] = [c for c in compilers if c in l]
|
||||
|
||||
@conf
|
||||
def find_toolchain_program(cfg, filename, **kw):
|
||||
|
Loading…
Reference in New Issue
Block a user