HTML5: Fix warnings and re-enable werror=yes on CI

Add a missing call to disable warnings on a forked env for freetype's
`sfnt.c`.
This commit is contained in:
Rémi Verschelde
2021-08-06 10:32:02 +02:00
parent 34421683eb
commit c44ebb020d
3 changed files with 3 additions and 2 deletions

View File

@@ -80,6 +80,7 @@ if env["builtin_freetype"]:
# Forcibly undefine this macro so SIMD is not used in this file,
# since currently unsupported in WASM
tmp_env = env_freetype.Clone()
tmp_env.disable_warnings()
tmp_env.Append(CPPFLAGS=["-U__OPTIMIZE__"])
sfnt = tmp_env.Object(sfnt)
thirdparty_sources += [sfnt]