summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/clang/compiler-rt/0006-replace-struct-sigaltstack-with-stack_t.patch
diff options
context:
space:
mode:
authorMing Liu <peter.x.liu@external.atlascopco.com>2017-08-23 09:26:13 +0200
committerKhem Raj <raj.khem@gmail.com>2017-08-23 09:10:29 -0700
commit0ce41d411f9fd8213584e2b9fdc1cbb99910c330 (patch)
tree02fc33a23e2944e0302f8cfb7f0630476466ca1f /recipes-devtools/clang/compiler-rt/0006-replace-struct-sigaltstack-with-stack_t.patch
parent4510752f044a5461e126d370aac0ca646d94d857 (diff)
downloadmeta-clang-0ce41d411f9fd8213584e2b9fdc1cbb99910c330.tar.gz
clang: fix nativesdk build
I could not manage to build nativesdk-clang, I encountered errors as follows: (trimmed for purpose) | ../gcc/x86_64-pokysdk-linux/6.3.0/ld:: | cannot find crt1.o: No such file or directory | cannot find crtbegin.o: No such file or directory | cannot find -lgcc | cannot find -lgcc_s After some investigation, I found it's caused by the llvm native tools could not compile with crosssdk toolchains. (special linking flags are needed) So we introduce a cmake-native class with a task to generate a native toolchain file, it will be used to build llvm native tools by passed with CROSS_TOOLCHAIN_FLAGS_NATIVE. Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-devtools/clang/compiler-rt/0006-replace-struct-sigaltstack-with-stack_t.patch')
0 files changed, 0 insertions, 0 deletions