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:
parent
4fcf6f5164
commit
6aec89c5fb
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user