Use -fPIC instead of -fpic.

Last-Update: 2017-05-12

Gbp-Pq: Name 0006-PIC-and-shared.patch
This commit is contained in:
Adam Conrad 2022-05-13 23:46:56 +08:00 committed by openKylinBot
parent fbe5b72aef
commit 137c6653b2
1 changed files with 2 additions and 1 deletions

View File

@ -24,8 +24,9 @@ AC_DEFUN([FIND_QT],
[have_qt5test_libs="no"])
if ! test "$have_w32_system" = yes; then
GPGME_QT_CFLAGS="$GPGME_QT_CFLAGS -shared"
if "$PKG_CONFIG" --variable qt_config Qt5Core | grep -q "reduce_relocations"; then
GPGME_QT_CFLAGS="$GPGME_QT_CFLAGS -fpic"
GPGME_QT_CFLAGS="$GPGME_QT_CFLAGS -fPIC"
fi
fi
if test "$have_qt5_libs" = "yes"; then