diff options
author | Anatol Pomozov <[email protected]> | 2024-07-13 09:14:54 -0700 |
---|---|---|
committer | Ayke <[email protected]> | 2024-07-14 14:31:14 +0200 |
commit | fb91c7097f4fdfc49cd2819753fb300cb31ce6b5 (patch) | |
tree | b88192620e7c422b2ec6fd5df34c587c4f9b2395 /GNUmakefile | |
parent | d7773d3e86e82a64c79a04fa70f740daf333a3be (diff) | |
download | tinygo-fb91c7097f4fdfc49cd2819753fb300cb31ce6b5.tar.gz tinygo-fb91c7097f4fdfc49cd2819753fb300cb31ce6b5.zip |
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
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile index ca8718ca5..3fc7275db 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -257,7 +257,7 @@ ifneq ($(USE_SYSTEM_BINARYEN),1) binaryen: build/wasm-opt$(EXE) build/wasm-opt$(EXE): mkdir -p build - cd lib/binaryen && cmake -G Ninja . -DBUILD_STATIC_LIB=ON -DBUILD_TESTS=OFF $(BINARYEN_OPTION) && ninja bin/wasm-opt$(EXE) + cd lib/binaryen && cmake -G Ninja . -DBUILD_STATIC_LIB=ON -DBUILD_TESTS=OFF -DENABLE_WERROR=OFF $(BINARYEN_OPTION) && ninja bin/wasm-opt$(EXE) cp lib/binaryen/bin/wasm-opt$(EXE) build/wasm-opt$(EXE) endif |