From 48675dfa33c4b99b41af487d75f057bb7399c709 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 18 Jul 2022 11:06:20 -0700 Subject: [PATCH] CMake: disable auto-detection of no_direct_extern_access The feature is not ready for prime-time. Too many linker bugs have been found, Clang hasn't finished implementing it, and the status of gold and lld are simply unknown. Task-number: QTBUG-105002 Pick-to: 6.4 Change-Id: I3859764fed084846bcb0fffd1702fead133a9a96 Reviewed-by: Alexandru Croitor --- configure.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.cmake b/configure.cmake index 5d2acc571e1..a800856e15d 100644 --- a/configure.cmake +++ b/configure.cmake @@ -671,6 +671,7 @@ qt_feature_config("reduce_exports" QMAKE_PUBLIC_QT_CONFIG) qt_feature("no_direct_extern_access" PRIVATE LABEL "Use protected visibility and -mno-direct-extern-access" CONDITION NOT WIN32 AND TEST_no_direct_extern_access + AUTODETECT OFF ) qt_feature_definition("no_direct_extern_access" "QT_USE_PROTECTED_VISIBILITY") qt_feature_config("no_direct_extern_access" QMAKE_PUBLIC_QT_CONFIG)