diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-01-01 20:52:54 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-01-02 09:51:44 -0800 |
commit | 004870755d64b4c6c931fefa71b6de80c10c14e1 (patch) | |
tree | 186734e25dd0781a05e1c00d6cef0de9b8900dd9 /recipes-devtools | |
parent | d888e96cc4a06e8a42a5306b2e33e4c0775ec7b7 (diff) | |
download | meta-clang-004870755d64b4c6c931fefa71b6de80c10c14e1.tar.gz |
compiler-rt-sanitizers: Enable -D_LARGEFILE64_SOURCE on musl
Ideally, the LFS64 functions should be replaced in sanitizers sources
but for now just enable the aliases in musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-devtools')
-rw-r--r-- | recipes-devtools/clang/compiler-rt-sanitizers_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-devtools/clang/compiler-rt-sanitizers_git.bb b/recipes-devtools/clang/compiler-rt-sanitizers_git.bb index bdf8fe3..9d8dde2 100644 --- a/recipes-devtools/clang/compiler-rt-sanitizers_git.bb +++ b/recipes-devtools/clang/compiler-rt-sanitizers_git.bb | |||
@@ -27,6 +27,8 @@ HF = "" | |||
27 | HF:class-target = "${@ bb.utils.contains('TUNE_CCARGS_MFLOAT', 'hard', 'hf', '', d)}" | 27 | HF:class-target = "${@ bb.utils.contains('TUNE_CCARGS_MFLOAT', 'hard', 'hf', '', d)}" |
28 | HF[vardepvalue] = "${HF}" | 28 | HF[vardepvalue] = "${HF}" |
29 | 29 | ||
30 | CXXFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE" | ||
31 | |||
30 | OECMAKE_TARGET_COMPILE = "compiler-rt" | 32 | OECMAKE_TARGET_COMPILE = "compiler-rt" |
31 | OECMAKE_TARGET_INSTALL = "install-compiler-rt install-compiler-rt-headers" | 33 | OECMAKE_TARGET_INSTALL = "install-compiler-rt install-compiler-rt-headers" |
32 | OECMAKE_SOURCEPATH = "${S}/llvm" | 34 | OECMAKE_SOURCEPATH = "${S}/llvm" |