From 290f050575efab0ef99479742e58079375a1a78e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 20 Jun 2018 16:20:31 +1000 Subject: [PATCH] waf: enable gccdeps, using gcc dependencies this is considerably faster than the way dependency system --- Tools/ardupilotwaf/toolchain.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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