llvm: support older toolchains
PATCH 1/1 llvm: support older toolchains
LLVM is now warning if your host compiler is gcc <5.1, and some of our supported operating systems still only have 4.8.5. Set LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN so those builds continue to work, hopefully we retire the old operating systems before LLVM requires 5.1+.
Signed-off-by Ross Burton <[email protected]>
--- meta/recipes-devtools/llvm/llvm_git.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/llvm/llvm_git.bb +1 -0
@@ -70,6 +70,7 @@ EXTRA_OECMAKE += "-DLLVM_ENABLE_ASSERTIONS=OFF \ -DFFI_INCLUDE_DIR=$(pkg-config --variable=includedir libffi) \ -DLLVM_OPTIMIZED_TABLEGEN=ON \ -DLLVM_TARGETS_TO_BUILD='${LLVM_TARGETS}' \ + -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON \ -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python2 \ -G Ninja"
Signature · 1 line
2.11.0