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.

Pick-to: 5.15.16
Fixes: QTBUG-118896
Change-Id: I65f7a4529b1b8a283209378d6af2a7f3c24366ca
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
Joerg Bornemann 2023-11-08 14:59:10 +01:00
parent d12e347b6f
commit 84e4342080

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