Bug 1737844 - Cleanup warnings when compiling generated wasm2c code r=glandium

Differential Revision: https://phabricator.services.mozilla.com/D129540
This commit is contained in:
Shravan Narayan 2023-06-16 00:25:30 +00:00
Родитель b5bddc679c
Коммит b7cf05ad7d
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -45,6 +45,10 @@ FINAL_LIBRARY = "xul"
# libraries), and C compiles (because they're code generated by wasm2c).
AllowCompilerWarnings()
SOURCES["!rlbox.wasm.c"].flags += [
"-Wno-unused",
]
WASM_DEFINES["MOZILLA_CLIENT"] = True
WASM_DEFINES["_WASI_EMULATED_PROCESS_CLOCKS"] = True
WASM_DEFINES["MOZ_IN_WASM_SANDBOX"] = True