toolchain: Fix for off-tree toolchains
Revert 1b5e6072ca
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 <alpi@oticon.com>
This commit is contained in:
parent
fe85c2e2e0
commit
ba9b8dd183
1 changed files with 5 additions and 0 deletions
|
@ -37,6 +37,11 @@
|
|||
#include <toolchain/xcc.h>
|
||||
#elif defined(__GNUC__) || (defined(_LINKER) && defined(__GCC_LINKER_CMD__))
|
||||
#include <toolchain/gcc.h>
|
||||
#else
|
||||
/* This include line exists for off-tree definitions of compilers,
|
||||
* and therefore this header is not meant to exist in-tree
|
||||
*/
|
||||
#include <toolchain/other.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue