pkg/freetype: disable ubsan

This commit is contained in:
Mitchell Hashimoto
2022-09-29 11:39:09 -07:00
parent 30a5041a38
commit fdbf40d3ee

View File

@ -89,7 +89,7 @@ pub fn buildFreetype(
"-DHAVE_UNISTD_H",
"-DHAVE_FCNTL_H",
//"-fno-sanitize=undefined",
"-fno-sanitize=undefined",
});
if (opt.libpng.enabled) try flags.append("-DFT_CONFIG_OPTION_USE_PNG=1");
if (opt.zlib.enabled) try flags.append("-DFT_CONFIG_OPTION_SYSTEM_ZLIB=1");