bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH libgpg-error] hurd-amd64 support


From: Samuel Thibault
Subject: Re: [PATCH libgpg-error] hurd-amd64 support
Date: Thu, 25 May 2023 17:15:10 +0200
User-agent: NeoMutt/20170609 (1.8.3)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]