Skip to content

Commit fb91c70

Browse files
anatolaykevl
authored andcommitted
Do not stop compilation on compiler warnings
Compilers like GCC keep adding new checks that produce new warnings. Sometimes it can be false positives. Do not treat such warnings in binaryen library as errors. tinygo won't be able to provide zero warnings in its dependencies. Closes #4332
1 parent d7773d3 commit fb91c70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GNUmakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ ifneq ($(USE_SYSTEM_BINARYEN),1)
257257
binaryen: build/wasm-opt$(EXE)
258258
build/wasm-opt$(EXE):
259259
mkdir -p build
260-
cd lib/binaryen && cmake -G Ninja . -DBUILD_STATIC_LIB=ON -DBUILD_TESTS=OFF $(BINARYEN_OPTION) && ninja bin/wasm-opt$(EXE)
260+
cd lib/binaryen && cmake -G Ninja . -DBUILD_STATIC_LIB=ON -DBUILD_TESTS=OFF -DENABLE_WERROR=OFF $(BINARYEN_OPTION) && ninja bin/wasm-opt$(EXE)
261261
cp lib/binaryen/bin/wasm-opt$(EXE) build/wasm-opt$(EXE)
262262
endif
263263

0 commit comments

Comments
 (0)