diff options
author | Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> | 2021-11-01 11:25:36 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-11-01 06:20:34 -0700 |
commit | 5ac36e49ab0f4b9bc72a3c747841c1f9e54e640a (patch) | |
tree | c935bf42409cd47ebb79d5f340df2f16dcbdcc62 /recipes-devtools/clang/clang | |
parent | 52c7b51ab9ebe426a77559802333d8479864912e (diff) | |
download | meta-clang-5ac36e49ab0f4b9bc72a3c747841c1f9e54e640a.tar.gz |
clang: Backport missing include fix from upstream.
This affects LLVM < 12, so backport directly to dunfell. This adds a missing
include that was breaking the build with recent libstdc++ releases on the
host system (versions 11 and above).
Signed-off-by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Diffstat (limited to 'recipes-devtools/clang/clang')
-rw-r--r-- | recipes-devtools/clang/clang/0028-nfc-Fix-missing-include.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-devtools/clang/clang/0028-nfc-Fix-missing-include.patch b/recipes-devtools/clang/clang/0028-nfc-Fix-missing-include.patch new file mode 100644 index 0000000..250e0da --- /dev/null +++ b/recipes-devtools/clang/clang/0028-nfc-Fix-missing-include.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From b498303066a63a203d24f739b2d2e0e56dca70d1 Mon Sep 17 00:00:00 2001 | ||
2 | From: serge-sans-paille <sguelton@redhat.com> | ||
3 | Date: Tue, 10 Nov 2020 14:55:25 +0100 | ||
4 | Subject: [PATCH] [nfc] Fix missing include | ||
5 | |||
6 | Upstream-Status: Backport [https://github.com/llvm/llvm-project/commit/b498303066a63a203d24f739b2d2e0e56dca70d1] | ||
7 | |||
8 | Signed-off-by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> | ||
9 | |||
10 | --- | ||
11 | llvm/utils/benchmark/src/benchmark_register.h | 1 + | ||
12 | 1 file changed, 1 insertion(+) | ||
13 | |||
14 | diff --git a/llvm/utils/benchmark/src/benchmark_register.h b/llvm/utils/benchmark/src/benchmark_register.h | ||
15 | index 0705e219f2fa..4caa5ad4da07 100644 | ||
16 | --- a/llvm/utils/benchmark/src/benchmark_register.h | ||
17 | +++ b/llvm/utils/benchmark/src/benchmark_register.h | ||
18 | @@ -1,6 +1,7 @@ | ||
19 | #ifndef BENCHMARK_REGISTER_H | ||
20 | #define BENCHMARK_REGISTER_H | ||
21 | |||
22 | +#include <limits> | ||
23 | #include <vector> | ||
24 | |||
25 | #include "check.h" | ||
26 | -- | ||
27 | 2.31.1 | ||
28 | |||