summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2022-07-18 11:06:20 -0700
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-07-22 01:45:51 +0000
commit55c23214526b00fc3074fa6f831c9ae2baa26092 (patch)
tree0652275d45645aa5f34658b1d3391435bc054c34 /configure.cmake
parentafeee99f520dd9e76a455bc20911e8469473a0b1 (diff)
downloadqtbase-55c23214526b00fc3074fa6f831c9ae2baa26092.tar.gz
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 Change-Id: I3859764fed084846bcb0fffd1702fead133a9a96 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 48675dfa33c4b99b41af487d75f057bb7399c709) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake
index 235017330f..0896125703 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -704,6 +704,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)