mirror of
https://github.com/ioquake/ioq3.git
synced 2025-02-21 11:11:20 +00:00
Silence compiler warnings
This commit is contained in:
parent
6fe061c36e
commit
9348dbf643
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -1114,6 +1114,10 @@ ifeq ($(PLATFORM),emscripten)
|
|||
OPTIMIZEVM = -O3
|
||||
OPTIMIZE = $(OPTIMIZEVM) -ffast-math
|
||||
|
||||
# These allow a warning-free build.
|
||||
# Some of these warnings may actually be legit problems and should be fixed at some point.
|
||||
BASE_CFLAGS+=-Wno-deprecated-non-prototype -Wno-dangling-else -Wno-implicit-const-int-float-conversion -Wno-misleading-indentation -Wno-format-overflow -Wno-logical-not-parentheses -Wno-absolute-value
|
||||
|
||||
SHLIBEXT=wasm
|
||||
SHLIBCFLAGS=-fPIC
|
||||
SHLIBLDFLAGS=-s SIDE_MODULE
|
||||
|
|
Loading…
Reference in a new issue