summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/clang/common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/clang/common.inc')
-rw-r--r--recipes-devtools/clang/common.inc7
1 files changed, 2 insertions, 5 deletions
diff --git a/recipes-devtools/clang/common.inc b/recipes-devtools/clang/common.inc
index 5a7328a..a751150 100644
--- a/recipes-devtools/clang/common.inc
+++ b/recipes-devtools/clang/common.inc
@@ -1,12 +1,10 @@
1FILESEXTRAPATHS =. "${FILE_DIRNAME}/clang:" 1FILESEXTRAPATHS =. "${FILE_DIRNAME}/clang:"
2 2
3# llvm patches 3# llvm patches
4#file://0001-llvm-Remove-CMAKE_CROSSCOMPILING-so-it-can-cross-com.patch \
5# 4#
6LLVMPATCHES = "\ 5LLVMPATCHES = "\
7 file://0001-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch \ 6 file://0001-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch \
8 file://0002-llvm-allow-env-override-of-exe-path.patch \ 7 file://0002-llvm-allow-env-override-of-exe-path.patch \
9 file://0003-llvm-ARM-Use-correct-calling-convention-for-libm.patch \
10" 8"
11# Fallback to no-PIE if not set 9# Fallback to no-PIE if not set
12GCCPIE ??= "" 10GCCPIE ??= ""
@@ -19,10 +17,9 @@ CLANGPATCHES = "\
19 file://0004-clang-Prepend-trailing-to-sysroot.patch;patchdir=tools/clang \ 17 file://0004-clang-Prepend-trailing-to-sysroot.patch;patchdir=tools/clang \
20 file://0005-clang-Look-inside-the-target-sysroot-for-compiler-ru.patch;patchdir=tools/clang \ 18 file://0005-clang-Look-inside-the-target-sysroot-for-compiler-ru.patch;patchdir=tools/clang \
21 file://0006-clang-Define-releative-gcc-installation-dir.patch;patchdir=tools/clang \ 19 file://0006-clang-Define-releative-gcc-installation-dir.patch;patchdir=tools/clang \
22 file://0008-clang-Fix-ldso-for-musl-on-x86-and-x32-architectures.patch;patchdir=tools/clang \ 20 file://0007-clang-Fix-ldso-for-musl-on-x86-and-x32-architectures.patch;patchdir=tools/clang \
23 file://0008-clang-Default-to-gnu-14-for-c-standard.patch;patchdir=tools/clang \
24" 21"
25CLANGPATCHES += "${@'file://0007-clang-Enable-SSP-and-PIE-by-default.patch;patchdir=tools/clang' if '${GCCPIE}' else ''}" 22#CLANGPATCHES += "${@'file://0007-clang-Enable-SSP-and-PIE-by-default.patch;patchdir=tools/clang' if '${GCCPIE}' else ''}"
26 23
27# libcxxabi patches 24# libcxxabi patches
28LIBCXXABIPATCHES ="\ 25LIBCXXABIPATCHES ="\