summaryrefslogtreecommitdiff
path: root/modules/freetype
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-08-06 10:32:02 +0200
committerRémi Verschelde <rverschelde@gmail.com>2021-08-06 12:12:37 +0200
commitc44ebb020d633e0e375a2d6d6ca6c1ba09e79111 (patch)
tree28e546afd0916a6f6dbab2360e1f335d93e853a1 /modules/freetype
parent34421683eb4075402b045f930bbe69f472d1746b (diff)
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`.
Diffstat (limited to 'modules/freetype')
-rw-r--r--modules/freetype/SCsub1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/freetype/SCsub b/modules/freetype/SCsub
index fc2535a6ca..476cb9cf2a 100644
--- a/modules/freetype/SCsub
+++ b/modules/freetype/SCsub
@@ -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]