blob: 197652f28353df79e2b8502088086051261f4481 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From ae6a3f20345dac4b9daab8c39ac2d3fb3f2c21e3 Mon Sep 17 00:00:00 2001
2From: Werner Koch <wk@gnupg.org>
3Date: Fri, 21 Sep 2018 14:37:21 +0200
4Subject: [PATCH Libgpg-error] syscfg: Add support for arc-unknown-linux-gnu
5
6* src/mkheader.c (canon_host_triplet): Add to table.
7--
8
9Note that unknown in the above triplet is actually a wildcard for 4
10part triplets.
11
12Signed-off-by: Werner Koch <wk@gnupg.org>
13
14Upstream-Status: Backport [http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=commit;h=f4f0da74f526d7e35cedbc2e93454df6440dbfa5]
15---
16 src/mkheader.c | 3 ++-
17 1 file changed, 2 insertions(+), 1 deletion(-)
18
19diff --git a/src/mkheader.c b/src/mkheader.c
20index 7a38a1bec1a4..a4866e96ef43 100644
21--- a/src/mkheader.c
22+++ b/src/mkheader.c
23@@ -92,7 +92,8 @@ canon_host_triplet (const char *triplet, int no_vendor_hack)
24 {"i486-pc-linux-gnu", "i686-unknown-linux-gnu" },
25 {"i586-pc-linux-gnu" },
26 {"i686-pc-linux-gnu" },
27- {"arc-oe-linux-uclibc" }, /* Other CPU but same struct. */
28+ {"arc-oe-linux-gnu" }, /* Other CPU but same struct. */
29+ {"arc-oe-linux-uclibc" }, /* and uclibc is also the same. */
30
31 {"i486-pc-gnu", "i686-unknown-gnu"},
32 {"i586-pc-gnu"},
33--
342.17.1
35