Fix WinRT/ARM build

Since the latest harfbuzz update the WinRT ARMv7 MSVC 2019 build failed
during the submodule update in CI with "hb-subset.cc : fatal error
C1128: number of sections exceeded object file format limit: compile
with /bigobj".

Fix this by following the compiler's kind suggestion.

Fixes: QTBUG-118896
Change-Id: I65f7a4529b1b8a283209378d6af2a7f3c24366ca
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit 84e4342080f86e9e297438b6f29c17adddb055cc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Joerg Bornemann 2023-11-08 14:59:10 +01:00 committed by Qt Cherry-pick Bot
parent 602bd58e79
commit d0f9c08bcc

View File

@ -26,6 +26,7 @@ DEFINES += HB_EXTERN=
DEFINES += HAVE_ATEXIT
unix: DEFINES += HAVE_PTHREAD HAVE_SCHED_H HAVE_SCHED_YIELD
win32: DEFINES += HB_NO_WIN1256
msvc:winrt: QMAKE_CXXFLAGS += /bigobj # prevent error C1128
#Workaround https://code.google.com/p/android/issues/detail?id=194631
android: DEFINES += _POSIX_C_SOURCE=200112L