From 7e7c9ba45554cd4c2f9a80ad61c3d2a0f9599f9b Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Fri, 21 Aug 2020 12:59:24 +0200 Subject: CMake: Support configure tests of type 'linkerSupportsFlag' Task-number: QTBUG-86155 Change-Id: I3764d99cd4ad1c432b499ec9ba7c4c48391fa421 Reviewed-by: Alexandru Croitor --- configure.cmake | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'configure.cmake') 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" -- cgit v1.2.3