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>
This commit is contained in:
parent
afeee99f52
commit
55c2321452
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user