diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-02-17 14:58:16 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-02-25 15:47:50 +0100 |
commit | 119ffd478134d793fb4414a65549acd19e919e0b (patch) | |
tree | 91f81998f26ec91771230b7def53d2e0ce5e4011 /configure.cmake | |
parent | bbf46e38b1d0f70b5c830b3ae2fccf66cf7edb8d (diff) |
CMake: Port the reduce-relocations feature
As reduce-relocations implies bsymbolic_functions, we also add the
-Bsymbolic-functions linker flag.
Also, handle the .dynlist files that are passed to the linker by
bsymbolic_functions.prf in the qmake build.
Change-Id: I535c33fba888596d2f8975b16864bbe9f0a7caa4
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'configure.cmake')
-rw-r--r-- | configure.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake index 9f620a8973..075c8df7a8 100644 --- a/configure.cmake +++ b/configure.cmake @@ -447,6 +447,12 @@ qt_feature("reduce_exports" PRIVATE ) qt_feature_definition("reduce_exports" "QT_VISIBILITY_AVAILABLE") qt_feature_config("reduce_exports" QMAKE_PUBLIC_QT_CONFIG) +qt_feature("reduce_relocations" PRIVATE + LABEL "Reduce amount of relocations" + CONDITION NOT WIN32 AND TEST_reduce_relocations +) +qt_feature_definition("reduce_relocations" "QT_REDUCE_RELOCATIONS") +qt_feature_config("reduce_relocations" QMAKE_PUBLIC_QT_CONFIG) qt_feature("signaling_nan" PUBLIC LABEL "Signaling NaN" CONDITION TEST_signaling_nan |