summaryrefslogtreecommitdiffstats
path: root/.prev_configure.cmake
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2020-12-21 19:29:30 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2020-12-22 13:49:30 +0000
commite0121157db5d83cf72dec11da193fe63a07d88ce (patch)
tree0c1a3d4e40ce9c37921fb471f96381cae3755d7d /.prev_configure.cmake
parentd598f7b9b7b0e1aa08c07bcf54d7d698315ea5f5 (diff)
CMake: Add --enable-new-dtags flag support
Remove enable-new-dtags from feature mapping, handle it as regular feature. Regenerate configure.cmake with 'enable-new-dtags' enabled. Check for enable_new_dtags feature, add -Wl,--enable-new-dtags if enabled. Fixes: QTBUG-89013 Change-Id: Ice57c02dc85f7f9ecf14e3bc65f31a57b589ce24 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Craig Scott <craig.scott@qt.io> (cherry picked from commit bbebfa0be2e51b638459d6d812e4db25a65a0d6d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to '.prev_configure.cmake')
-rw-r--r--.prev_configure.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/.prev_configure.cmake b/.prev_configure.cmake
index 63a9404708..75081a87c9 100644
--- a/.prev_configure.cmake
+++ b/.prev_configure.cmake
@@ -635,6 +635,11 @@ qt_feature("ltcg"
CONDITION __qt_ltcg_detected
)
qt_feature_config("ltcg" QMAKE_PRIVATE_CONFIG)
+qt_feature("enable_new_dtags"
+ LABEL "Using new DTAGS"
+ CONDITION LINUX AND TEST_enable_new_dtags
+)
+qt_feature_config("enable_new_dtags" QMAKE_PRIVATE_CONFIG)
qt_feature("enable_gdb_index"
LABEL "Generating GDB index"
AUTODETECT QT_FEATURE_developer_build