diff --git a/Makefile b/Makefile index e21fad1c..02968235 100644 --- a/Makefile +++ b/Makefile @@ -127,6 +127,8 @@ $(UV_OBJS): CFLAGS += \ -Wno-unused-but-set-variable \ -Wno-incompatible-pointer-types \ -Wno-sign-compare \ + -Wno-maybe-uninitialized \ + -Wno-unused-variable \ -D_GNU_SOURCE \ SODIUM_SOURCES := \ @@ -175,6 +177,8 @@ $(SODIUM_OBJS): CFLAGS += \ -DMINIMAL=1 \ -Wno-unused-function \ -Wno-unused-variable \ + -Wno-type-limits \ + -Wno-unknown-pragmas \ -Ideps/libsodium/src/libsodium/include/sodium SQLITE_SOURCES := deps/sqlite/sqlite3.c @@ -194,7 +198,8 @@ $(SQLITE_OBJS): CFLAGS += \ -DSQLITE_MAX_VARIABLE_NUMBER=100 \ -DSQLITE_MAX_TRIGGER_DEPTH=10 \ -DSQLITE_SECURE_DELETE \ - -Wno-implicit-fallthrough + -Wno-implicit-fallthrough \ + -Wno-unused-but-set-variable XOPT_SOURCES := deps/xopt/xopt.c XOPT_OBJS := $(call get_objs,XOPT_SOURCES)