qtbase: disable stack protector for mingw

QtBase will now enable -fstack-protector-strong for all builds,
but mingw builds fail with undefined reference to `__stack_chk_guard'.

Change-Id: I5f71dfd347481b3072eb2cc9c50ec504a829973b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This commit is contained in:
Samuli Piippo 2024-04-10 07:23:15 +00:00
parent e0ef8e212c
commit 271a60cafc

View File

@ -173,6 +173,7 @@ EXTRA_OECMAKE:append:class-target = "\
EXTRA_OECMAKE:append:mingw32 = "\
-DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON \
-DFEATURE_stack_protector=OFF \
"
SYSROOT_DIRS += "${QT6_INSTALL_MKSPECSDIR}"