1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/makefiles/toolchain
Marian Buschsieweke 6dcd3bb8ff
build system: support wrong target triples with LLVM
clang/LLVM is a bit more finicky with what target triples it accepts compared
to GCC. However, the GCC target triple is needed to properly locate the C
libraries. In case a locally installed GCC toolchain uses a technically not
fully correct target triple, it might be impossible to build with LLVM.

The solution here is to allow specifying a TARGET_ARCH_LLVM target triple
(which defaults to TARGET_ARCH), which is passed to clang. For locating the
C lib, still TARGET_ARCH is used.
2021-02-11 17:19:15 +01:00
..
afl.inc.mk makefiles/toolchain: don't export all variables 2020-06-24 11:00:54 +02:00
gnu.inc.mk makefiles/toolchain: don't export all variables 2020-06-24 11:00:54 +02:00
llvm.inc.mk build system: support wrong target triples with LLVM 2021-02-11 17:19:15 +01:00