[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH libgpg-error] hurd-amd64 support
From: |
NIIBE Yutaka |
Subject: |
Re: [PATCH libgpg-error] hurd-amd64 support |
Date: |
Thu, 25 May 2023 09:21:43 +0900 |
Hello,
It's nice to have GnuPG on another GNU Hurd system.
Samuel Thibault <samuel.thibault@ens-lyon.org> wrote:
> This supports the x86_64-pc-gnu triplet
I wonder if it works for GNU Hurd system:
diff --git a/configure.ac b/configure.ac
index d0fa6f2..ca7731c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -590,7 +590,7 @@ if test x"$gl_use_threads" = xno; then
AC_MSG_NOTICE([generated src/lock-obj-pub.native.h for $host])
elif test x$cross_compiling = xyes; then
case $host in
- *-*-linux-gnu* | *-*-linux-musl*)
+ *-*-gnu* | *-*-linux-gnu* | *-*-linux-musl*)
AC_CHECK_TOOL(OBJDUMP, [objdump])
if test -n "$OBJDUMP"; then
lock_obj_h_generated=yes
The change enables generating the header file from the output of cross
compiler (by src/gen-lock-obj.sh) for *-*-gnu* host on cross
compilation.
If it works, we won't need to add an entry to syscfg/ for each new
architecture in future.
--