Hardening: fix _LIBCPP_HARDENING_MODE

It seems we ended up passing "_LIBCPP_HARDENING_MODE_EXTENSIVE"
(quoted), not just _LIBCPP_HARDENING_MODE_EXTENSIVE. Remove the
quoting.

Amends 9ff1e6d80bbd5b44b9ec4c0a837d9a4c962698e4

Change-Id: Ia396b0ef638d656a9ea947a378d5623c11e5a544
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Giuseppe D'Angelo 2024-03-27 01:53:52 +01:00
parent 4fcf6f5164
commit 6aec89c5fb

View File

@ -354,7 +354,7 @@ if(QT_FEATURE_libstdcpp_assertions)
endif()
if(QT_FEATURE_libcpp_hardening)
target_compile_definitions(PlatformCommonInternal INTERFACE -D_LIBCPP_HARDENING_MODE="$<IF:$<CONFIG:Debug>,_LIBCPP_HARDENING_MODE_EXTENSIVE,_LIBCPP_HARDENING_MODE_FAST>")
target_compile_definitions(PlatformCommonInternal INTERFACE -D_LIBCPP_HARDENING_MODE=$<IF:$<CONFIG:Debug>,_LIBCPP_HARDENING_MODE_EXTENSIVE,_LIBCPP_HARDENING_MODE_FAST>)
endif()
if(QT_FEATURE_relro_now_linker)