wasm: fix building examples and applications
This fixes a bug where app build would fail with AssertionError: SIMD is
used, but not supported in WASM mode yet
This patch was wiped out by the recent freetype update and is exactly
the same as
44b91a619d
Fixes: QTBUG-79938
Change-Id: Iaa8f23c83d0488ddd351454a674a6cad76e7cc8b
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
parent
8ffb200153
commit
30f4ca4e4f
1
src/3rdparty/freetype/src/sfnt/pngshim.c
vendored
1
src/3rdparty/freetype/src/sfnt/pngshim.c
vendored
@ -68,6 +68,7 @@
|
|||||||
( ( __clang_major__ >= 4 ) || \
|
( ( __clang_major__ >= 4 ) || \
|
||||||
( ( __clang_major__ == 3 ) && ( __clang_minor__ >= 2 ) ) ) ) ) && \
|
( ( __clang_major__ == 3 ) && ( __clang_minor__ >= 2 ) ) ) ) ) && \
|
||||||
defined( __OPTIMIZE__ ) && \
|
defined( __OPTIMIZE__ ) && \
|
||||||
|
!defined( __EMSCRIPTEN__ ) && \
|
||||||
__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
|
__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
|
||||||
|
|
||||||
#ifdef __clang__
|
#ifdef __clang__
|
||||||
|
Loading…
Reference in New Issue
Block a user