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

Brad Smith brad at comstyle.com
Mon Apr 6 03:11:40 CEST 2026


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
-- 
2.53.0




More information about the Gnupg-devel mailing list