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.inc33
1 files changed, 18 insertions, 15 deletions
diff --git a/recipes-devtools/clang/common.inc b/recipes-devtools/clang/common.inc
index c7f4073..e211258 100644
--- a/recipes-devtools/clang/common.inc
+++ b/recipes-devtools/clang/common.inc
@@ -8,11 +8,12 @@ LICENSE = "Apache-2.0-with-LLVM-exception"
8BASEURI ??= "${LLVM_GIT}/llvm-project;protocol=${LLVM_GIT_PROTOCOL};branch=${BRANCH}" 8BASEURI ??= "${LLVM_GIT}/llvm-project;protocol=${LLVM_GIT_PROTOCOL};branch=${BRANCH}"
9SRC_URI = "\ 9SRC_URI = "\
10 ${BASEURI} \ 10 ${BASEURI} \
11 file://llvm-config \
11 file://0001-lldb-Add-lxml2-to-linker-cmdline-of-xml-is-found.patch \ 12 file://0001-lldb-Add-lxml2-to-linker-cmdline-of-xml-is-found.patch \
12 file://0002-libcxxabi-Find-libunwind-headers-when-LIBCXXABI_LIBU.patch \ 13 file://0002-libcxxabi-Find-libunwind-headers-when-LIBCXXABI_LIBU.patch \
13 file://0003-compiler-rt-support-a-new-embedded-linux-target.patch \ 14 file://0003-compiler-rt-support-a-new-embedded-linux-target.patch \
14 file://0004-compiler-rt-Simplify-cross-compilation.-Don-t-use-na.patch \ 15 file://0004-compiler-rt-Simplify-cross-compilation.-Don-t-use-na.patch \
15 file://0001-compiler-rt-Fix-realpath-already-defined-error.patch \ 16 file://0005-compiler-rt-Disable-tsan-on-OE-glibc.patch \
16 file://0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch \ 17 file://0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch \
17 file://0007-llvm-allow-env-override-of-exe-path.patch \ 18 file://0007-llvm-allow-env-override-of-exe-path.patch \
18 file://0008-clang-driver-Check-sysroot-for-ldso-path.patch \ 19 file://0008-clang-driver-Check-sysroot-for-ldso-path.patch \
@@ -24,21 +25,23 @@ SRC_URI = "\
24 file://0014-clang-Fix-ldso-for-musl-on-x86-and-x32-architectures.patch \ 25 file://0014-clang-Fix-ldso-for-musl-on-x86-and-x32-architectures.patch \
25 file://0015-clang-scan-view-needs-python-2.x.patch \ 26 file://0015-clang-scan-view-needs-python-2.x.patch \
26 file://0016-clang-Add-lpthread-and-ldl-along-with-lunwind-for-st.patch \ 27 file://0016-clang-Add-lpthread-and-ldl-along-with-lunwind-for-st.patch \
27 file://0017-libclang-Use-CMAKE_DL_LIBS-for-deducing-libdl.patch \ 28 file://0017-Pass-PYTHON_EXECUTABLE-when-cross-compiling-for-nati.patch \
28 file://0018-Pass-PYTHON_EXECUTABLE-when-cross-compiling-for-nati.patch \ 29 file://0018-Check-for-atomic-double-intrinsics.patch \
29 file://0019-Check-for-atomic-double-intrinsics.patch \ 30 file://0019-clang-Enable-SSP-and-PIE-by-default.patch \
30 file://0020-clang-Enable-SSP-and-PIE-by-default.patch \ 31 file://0020-libcxx-Add-compiler-runtime-library-to-link-step-for.patch \
31 file://0021-libcxx-Add-compiler-runtime-library-to-link-step-for.patch \ 32 file://0021-clang-llvm-cmake-Fix-configure-for-packages-using-fi.patch \
32 file://0022-clang-llvm-cmake-Fix-configure-for-packages-using-fi.patch \ 33 file://0022-clang-Fix-resource-dir-location-for-cross-toolchains.patch \
33 file://0023-clang-Fix-resource-dir-location-for-cross-toolchains.patch \ 34 file://0023-fix-path-to-libffi.patch \
34 file://0024-fix-path-to-libffi.patch \ 35 file://0024-clang-driver-Add-dyld-prefix-when-checking-sysroot-f.patch \
35 file://0025-clang-driver-Add-dyld-prefix-when-checking-sysroot-f.patch \ 36 file://0025-clang-Use-python3-in-python-scripts.patch \
36 file://0026-OpenCL-Fix-support-for-cl_khr_mipmap_image_writes.patch \ 37 file://0026-For-x86_64-set-Yocto-based-GCC-install-search-path.patch \
37 file://0027-InstCombine-visitBitCast-do-not-crash-on-weird-bitca.patch;patchdir=llvm \ 38 file://0027-compiler-rt-Include-stddef.h.patch \
38 file://0028-nfc-Fix-missing-include.patch \ 39 file://0028-llvm-Do-not-use-find_library-for-ncurses.patch \
39 file://0029-OpenMP-link-fix.patch \ 40 file://0029-llvm-Insert-anchor-for-adding-OE-distro-vendor-names.patch \
41 file://0030-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch \
42 file://0031-compiler-rt-Use-mcr-based-barrier-on-armv6.patch \
43 file://0032-clang-Switch-defaults-to-dwarf-5-debug-info-on-Linux.patch \
40" 44"
41
42# Fallback to no-PIE if not set 45# Fallback to no-PIE if not set
43GCCPIE ??= "" 46GCCPIE ??= ""
44 47