aboutsummaryrefslogtreecommitdiffstats
path: root/src/mkheader.c
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <[email protected]>2015-09-17 01:20:46 +0000
committerWerner Koch <[email protected]>2015-09-17 07:15:46 +0000
commit9decdd7bd105ff6a0973cc1f6652e0eb0625d640 (patch)
treef808ca895d3c19d12ead433ae895bad682d6104a /src/mkheader.c
parentPost release updates (diff)
downloadlibgpg-error-9decdd7bd105ff6a0973cc1f6652e0eb0625d640.tar.gz
libgpg-error-9decdd7bd105ff6a0973cc1f6652e0eb0625d640.zip
Support i[456]86-pc{,-linux,-kfreebsd}-gnu.h
* src/mkheader (canon_host_triplet): Add new entries. * src/syscfg/lock-obj-pub.i486-pc-gnu.h: Rename to ... * src/syscfg/lock-obj-pub.i686-pc-gnu.h: this. * src/syscfg/lock-obj-pub.i486-pc-kfreebsd-gnu.h: Rename to ... * src/syscfg/lock-obj-pub.i686-pc-kfreebsd-gnu.h: this. * src/syscfg/lock-obj-pub.i486-pc-linux-gnu.h: Remove. * src/Makefile.am (lock_obj_pub): Update. -- i486-pc, i586-pc, and i686-pc all use the same ABI given the GNU userland and a specific kernel. This changeset updates the arch-specific lock-obj header generation to treat the hardware aliases explicitly and should improve cross-building for anyone wanting to target any of these 9 architectures. It also removes src/syscfg/lock-obj-pub.i486-pc-linux-gnu.h, which should be handled by the alias to src/syscfg/lock-obj-pub.i686-pc-linux-gnu.h Debian-Bug-Id: 799177
Diffstat (limited to 'src/mkheader.c')
-rw-r--r--src/mkheader.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mkheader.c b/src/mkheader.c
index b8fd783..875a0f5 100644
--- a/src/mkheader.c
+++ b/src/mkheader.c
@@ -77,6 +77,10 @@ canon_host_triplet (const char *triplet)
} tbl[] = {
{"i486-pc-linux-gnu", "i686-pc-linux-gnu" },
{"i586-pc-linux-gnu" },
+ {"i486-pc-gnu", "i686-pc-gnu"},
+ {"i586-pc-gnu"},
+ {"i486-pc-kfreebsd-gnu", "i686-pc-kfreebsd-gnu"},
+ {"i586-pc-kfreebsd-gnu"},
{ NULL }
};