summaryrefslogtreecommitdiffstats
path: root/configure.cmake
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-08-21 12:59:24 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-08-23 11:04:46 +0200
commit7e7c9ba45554cd4c2f9a80ad61c3d2a0f9599f9b (patch)
tree71d327ae2dd10f9280d4a008582bf55b25aa0c58 /configure.cmake
parent48cf015906e34ea0f8a388fd3a0e53ec082546f2 (diff)
CMake: Support configure tests of type 'linkerSupportsFlag'
Task-number: QTBUG-86155 Change-Id: I3764d99cd4ad1c432b499ec9ba7c4c48391fa421 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake
index f6863d01fe..e4b632f0db 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -130,6 +130,16 @@ qt_config_compiler_supports_flag_test(optimize_debug
FLAG "-Og"
)
+qt_config_linker_supports_flag_test(enable_new_dtags
+ LABEL "new dtags support"
+ FLAG "--enable-new-dtags"
+)
+
+qt_config_linker_supports_flag_test(gdb_index
+ LABEL "gdb index support"
+ FLAG "--gdb-index"
+)
+
# reduce_relocations
qt_config_compile_test(reduce_relocations
LABEL "-Bsymbolic-functions support"