From ba9b8dd183988ccb3cea6da1d3f9e11cb2ecca14 Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Tue, 8 Oct 2019 17:41:06 +0200 Subject: [PATCH] toolchain: Fix for off-tree toolchains Revert 1b5e6072ca8324432aa920f47d8f7931232fb8bc which broke things for off-tree toolchains, and add a note about the reason for that line so it is not removed again. That include line is, logically, not there for the compilers which are supported in the tree, but for other compilers which would be supported thru off-tree headers and cmake files. Signed-off-by: Alberto Escolar Piedras --- include/toolchain.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/toolchain.h b/include/toolchain.h index d2c08a6719d..3b7d5bfefcf 100644 --- a/include/toolchain.h +++ b/include/toolchain.h @@ -37,6 +37,11 @@ #include #elif defined(__GNUC__) || (defined(_LINKER) && defined(__GCC_LINKER_CMD__)) #include +#else +/* This include line exists for off-tree definitions of compilers, + * and therefore this header is not meant to exist in-tree + */ +#include #endif /*