diff options
Diffstat (limited to 'meta/recipes-devtools/llvm/llvm/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch')
-rw-r--r-- | meta/recipes-devtools/llvm/llvm/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/meta/recipes-devtools/llvm/llvm/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch b/meta/recipes-devtools/llvm/llvm/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch index 789c308863..d75c94e9e9 100644 --- a/meta/recipes-devtools/llvm/llvm/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch +++ b/meta/recipes-devtools/llvm/llvm/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch | |||
@@ -1,13 +1,11 @@ | |||
1 | From 4c08879d2dfbe7face4e679ac8499dc7bff2dd20 Mon Sep 17 00:00:00 2001 | 1 | From dbeecdb307be8b783b42cbc89dcb9c5e7f528989 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 21 May 2016 00:33:20 +0000 | 3 | Date: Sat, 21 May 2016 00:33:20 +0000 |
4 | Subject: [PATCH 06/19] llvm: TargetLibraryInfo: Undefine libc functions if | 4 | Subject: [PATCH] llvm: TargetLibraryInfo: Undefine libc functions if they are macros |
5 | they are macros | ||
6 | 5 | ||
7 | musl defines some functions as macros and not inline functions | 6 | musl defines some functions as macros and not inline functions |
8 | if this is the case then make sure to undefine them | 7 | if this is the case then make sure to undefine them |
9 | 8 | ||
10 | Upstream-Status: Pending | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
12 | --- | 10 | --- |
13 | .../llvm/Analysis/TargetLibraryInfo.def | 21 +++++++++++++++++++ | 11 | .../llvm/Analysis/TargetLibraryInfo.def | 21 +++++++++++++++++++ |
@@ -87,6 +85,3 @@ index afed404f04c..876888656f2 100644 | |||
87 | TLI_DEFINE_ENUM_INTERNAL(tmpfile64) | 85 | TLI_DEFINE_ENUM_INTERNAL(tmpfile64) |
88 | TLI_DEFINE_STRING_INTERNAL("tmpfile64") | 86 | TLI_DEFINE_STRING_INTERNAL("tmpfile64") |
89 | /// int toascii(int c); | 87 | /// int toascii(int c); |
90 | -- | ||
91 | 2.22.0 | ||
92 | |||