[PATCH libgpg-error] hurd-amd64 support

Samuel Thibault samuel.thibault at ens-lyon.org
Thu May 25 17:15:10 CEST 2023


NIIBE Yutaka, le jeu. 25 mai 2023 09:21:43 +0900, a ecrit:
> 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.

Yes that does work, it generats a proper src/lock-obj-pub.native.h file

Samuel



More information about the Gnupg-devel mailing list