summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/llvm/llvm/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch
diff options
context:
space:
mode:
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.patch9
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 @@
1From 4c08879d2dfbe7face4e679ac8499dc7bff2dd20 Mon Sep 17 00:00:00 2001 1From dbeecdb307be8b783b42cbc89dcb9c5e7f528989 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 21 May 2016 00:33:20 +0000 3Date: Sat, 21 May 2016 00:33:20 +0000
4Subject: [PATCH 06/19] llvm: TargetLibraryInfo: Undefine libc functions if 4Subject: [PATCH] llvm: TargetLibraryInfo: Undefine libc functions if they are macros
5 they are macros
6 5
7musl defines some functions as macros and not inline functions 6musl defines some functions as macros and not inline functions
8if this is the case then make sure to undefine them 7if this is the case then make sure to undefine them
9 8
10Upstream-Status: Pending
11Signed-off-by: Khem Raj <raj.khem@gmail.com> 9Signed-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--
912.22.0
92