[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-devel
Subject:    Re: [PATCH libgpg-error] hurd-amd64 support
From:       Samuel Thibault <samuel.thibault () ens-lyon ! org>
Date:       2023-05-25 15:15:10
Message-ID: 20230525151510.j5uaizkbgyvyubfi () begin
[Download RAW message or body]

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

_______________________________________________
Gnupg-devel mailing list
Gnupg-devel@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic