Re: [PATCH pinentry] build: Fix building Qt pinentry on Sparc

Brad Smith via Gnupg-devel <[email protected]> Thu, 14 May 2026 21:33:09 -0400
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <[email protected]>
ping.

On 2026-04-05 9:11 p.m., Brad Smith via Gnupg-devel wrote:
> build: Fix building Qt pinentry on Sparc
>
> On most archs lowercase and uppercase PIC flag does not matter, but
> it does on Sparc.
> ---
>   configure.ac | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index a4f443d..c06496a 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -605,7 +605,7 @@ else
>     AC_DEFINE(PINENTRY_QT5_X11, 0, [pinentry-qt5 shouldn't use x11.])
>   fi
>   if test "$have_kf5waylandclient" = "yes"; then
> -  PINENTRY_QT5_CFLAGS="$KF5WAYLANDCLIENT_CFLAGS $PINENTRY_QT5_CFLAGS -fpic"
> +  PINENTRY_QT5_CFLAGS="$KF5WAYLANDCLIENT_CFLAGS $PINENTRY_QT5_CFLAGS -fPIC"
>     PINENTRY_QT5_LIBS="$KF5WAYLANDCLIENT_LIBS $PINENTRY_QT5_LIBS"
>     AC_DEFINE(PINENTRY_QT5_WAYLAND, 1, [pinentry-qt5 should use KF5WaylandClient.])
>   else