зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1737844 - Cleanup warnings when compiling generated wasm2c code r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D129540
This commit is contained in:
Родитель
b5bddc679c
Коммит
b7cf05ad7d
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче