From 9180d35e2ad04e7fac15e1c8dd0d904b82e55e7b Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 28 Mar 2019 12:35:29 +0000 Subject: 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+. (From OE-Core rev: 0e7d761b1360f603a4cc0de15c67f4e182e5a6a4) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/llvm/llvm_git.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools/llvm') diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index 01a7da8ebd..7832441482 100644 --- a/meta/recipes-devtools/llvm/llvm_git.bb +++ b/meta/recipes-devtools/llvm/llvm_git.bb @@ -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" -- cgit v1.2.3-54-g00ecf