Home GnuPG
Diffusion GPGME 927f129663b8

build,qt: Optionally build Qt 6 bindings with -mno-direct-extern-access

Description

build,qt: Optionally build Qt 6 bindings with -mno-direct-extern-access

* configure.ac: Check if C++ compiler supports
-mno-direct-extern-access. Add option to enable building with
-mno-direct-extern-access.
* m4/ax_check_compile_flag.m4: New.
* m4/qt6.m4: Add -mno-direct-extern-access to GPGME_QT6_CFLAGS if
supported and requested.

This adds the possibility to build the Qt 6 bindings with the
-mno-direct-extern-access flag. This is required if Qt 6 was built with
this flag. This is a workaround for the lack of Qt 6's pkgconfig files
providing this flag if needed.

Details

Provenance
ikloeckerAuthored on Sep 21 2023, 10:56 AM
Parents
rM3e6485620816: build,qt: Drop broken check for -fPIC
Branches
Unknown
Tags
Unknown
Tasks
T6696: qgpgme-qt6: Build failure for some distributions