summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2020-12-21 19:29:30 +0100
committerAlexey Edelev <alexey.edelev@qt.io>2020-12-22 10:28:34 +0000
commitbbebfa0be2e51b638459d6d812e4db25a65a0d6d (patch)
tree4b9ede3361d41aeff3fdc5693e9011608cf039db /configure.cmake
parent1021cbf45b399f7324431fb2c6f30e4c172a3ef6 (diff)
downloadqtbase-bbebfa0be2e51b638459d6d812e4db25a65a0d6d.tar.gz
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 Pick-to: 6.0 Change-Id: Ice57c02dc85f7f9ecf14e3bc65f31a57b589ce24 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Craig Scott <craig.scott@qt.io>
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake
index d65341aa1a..d0767902c8 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -648,6 +648,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