Commit Graph

8 Commits (8d88781e05c954c130b5429e85d00a4da369123c)

Author SHA1 Message Date
Joakim Nohlgård 9830912b23 llvm: Only use GCC include paths when cross compiling
native should only use the compiler defaults for system includes.
7 years ago
Joakim Nohlgård e9f8608307 llvm: Only add -target to CFLAGS if TARGET_ARCH is set 7 years ago
Joakim Nohlgård 2001b36284 llvm: Refactor include path search
The patterns in GCC_CXX_INCLUDE_PATTERNS are tested in order from first
to last and the first matching pattern is used instead of the last.
The latest version within each pattern will be selected, like before, to
get the most recent tool chain version.
7 years ago
Joakim Nohlgård 9021001200 llvm: Add support for >=GCC-6 C++ headers on Gentoo 7 years ago
Joakim Nohlgård e2c9fee917 cpu/Makefile.include.llvm: Try harder to find C++ and C headers from cross-GCC 7 years ago
Joakim Nohlgård e4ad8d6beb cpu/Makefile.include.llvm: Use libstdc++ headers for C++ support 7 years ago
Joakim Nohlgård 7e3c67b654 make: Rename TARGET_TRIPLE -> TARGET_ARCH 8 years ago
Joakim Nohlgård 31c9ca70e5 make: Move Makefile.include.$(TOOLCHAIN) to cpu dir 8 years ago