diff --git a/Tools/ardupilotwaf/toolchain.py b/Tools/ardupilotwaf/toolchain.py index 19294c5406..249c0daca6 100644 --- a/Tools/ardupilotwaf/toolchain.py +++ b/Tools/ardupilotwaf/toolchain.py @@ -131,7 +131,7 @@ def configure(cfg): _filter_supported_cxx_compilers('g++', 'clang++') if cfg.env.TOOLCHAIN == 'native': - cfg.load('compiler_cxx compiler_c') + cfg.load('compiler_cxx compiler_c gccdeps') if cfg.env.COMPILER_CC == 'clang' or cfg.env.COMPILER_CXX == 'clang++': Logs.warn("Warning! Native clang builds can be unstable, please use gcc/g++. \ \nRefer ardupilot.org docs for more details.") @@ -140,7 +140,7 @@ def configure(cfg): cfg.find_toolchain_program('ar') cfg.msg('Using toolchain', cfg.env.TOOLCHAIN) - cfg.load('compiler_cxx compiler_c') + cfg.load('compiler_cxx compiler_c gccdeps') if cfg.env.COMPILER_CC == 'clang': cfg.env.CFLAGS += cfg.env.CLANG_FLAGS