[PATCH libgpg-error] hurd-amd64 support

NIIBE Yutaka gniibe at fsij.org
Thu May 25 02:21:43 CEST 2023


Hello,

It's nice to have GnuPG on another GNU Hurd system.

Samuel Thibault <samuel.thibault at 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.
-- 



More information about the Gnupg-devel mailing list