diff options
Diffstat (limited to 'recipes-devtools/clang/common.inc')
-rw-r--r-- | recipes-devtools/clang/common.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-devtools/clang/common.inc b/recipes-devtools/clang/common.inc index 62af42b..2a6600e 100644 --- a/recipes-devtools/clang/common.inc +++ b/recipes-devtools/clang/common.inc | |||
@@ -7,6 +7,8 @@ LLVMPATCHES = "\ | |||
7 | file://0001-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch \ | 7 | file://0001-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch \ |
8 | file://0002-llvm-allow-env-override-of-exe-path.patch \ | 8 | file://0002-llvm-allow-env-override-of-exe-path.patch \ |
9 | " | 9 | " |
10 | # Fallback to no-PIE if not set | ||
11 | GCCPIE ??= "" | ||
10 | 12 | ||
11 | # Clang patches | 13 | # Clang patches |
12 | CLANGPATCHES = "\ | 14 | CLANGPATCHES = "\ |
@@ -17,6 +19,7 @@ CLANGPATCHES = "\ | |||
17 | file://0005-clang-Look-inside-the-target-sysroot-for-compiler-ru.patch;patchdir=tools/clang \ | 19 | file://0005-clang-Look-inside-the-target-sysroot-for-compiler-ru.patch;patchdir=tools/clang \ |
18 | file://0006-clang-Define-releative-gcc-installation-dir.patch;patchdir=tools/clang \ | 20 | file://0006-clang-Define-releative-gcc-installation-dir.patch;patchdir=tools/clang \ |
19 | " | 21 | " |
22 | CLANGPATCHES += "${@'file://0007-clang-Enable-SSP-and-PIE-by-default.patch;patchdir=tools/clang' if '${GCCPIE}' else ''}" | ||
20 | 23 | ||
21 | # libcxxabi patches | 24 | # libcxxabi patches |
22 | LIBCXXABIPATCHES ="\ | 25 | LIBCXXABIPATCHES ="\ |