forked from cory/tildefriends
Disable all the warnings I see in external code.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3894 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
653e16b059
commit
a8ced8757c
7
Makefile
7
Makefile
@ -127,6 +127,8 @@ $(UV_OBJS): CFLAGS += \
|
|||||||
-Wno-unused-but-set-variable \
|
-Wno-unused-but-set-variable \
|
||||||
-Wno-incompatible-pointer-types \
|
-Wno-incompatible-pointer-types \
|
||||||
-Wno-sign-compare \
|
-Wno-sign-compare \
|
||||||
|
-Wno-maybe-uninitialized \
|
||||||
|
-Wno-unused-variable \
|
||||||
-D_GNU_SOURCE \
|
-D_GNU_SOURCE \
|
||||||
|
|
||||||
SODIUM_SOURCES := \
|
SODIUM_SOURCES := \
|
||||||
@ -175,6 +177,8 @@ $(SODIUM_OBJS): CFLAGS += \
|
|||||||
-DMINIMAL=1 \
|
-DMINIMAL=1 \
|
||||||
-Wno-unused-function \
|
-Wno-unused-function \
|
||||||
-Wno-unused-variable \
|
-Wno-unused-variable \
|
||||||
|
-Wno-type-limits \
|
||||||
|
-Wno-unknown-pragmas \
|
||||||
-Ideps/libsodium/src/libsodium/include/sodium
|
-Ideps/libsodium/src/libsodium/include/sodium
|
||||||
|
|
||||||
SQLITE_SOURCES := deps/sqlite/sqlite3.c
|
SQLITE_SOURCES := deps/sqlite/sqlite3.c
|
||||||
@ -194,7 +198,8 @@ $(SQLITE_OBJS): CFLAGS += \
|
|||||||
-DSQLITE_MAX_VARIABLE_NUMBER=100 \
|
-DSQLITE_MAX_VARIABLE_NUMBER=100 \
|
||||||
-DSQLITE_MAX_TRIGGER_DEPTH=10 \
|
-DSQLITE_MAX_TRIGGER_DEPTH=10 \
|
||||||
-DSQLITE_SECURE_DELETE \
|
-DSQLITE_SECURE_DELETE \
|
||||||
-Wno-implicit-fallthrough
|
-Wno-implicit-fallthrough \
|
||||||
|
-Wno-unused-but-set-variable
|
||||||
|
|
||||||
XOPT_SOURCES := deps/xopt/xopt.c
|
XOPT_SOURCES := deps/xopt/xopt.c
|
||||||
XOPT_OBJS := $(call get_objs,XOPT_SOURCES)
|
XOPT_OBJS := $(call get_objs,XOPT_SOURCES)
|
||||||
|
Loading…
Reference in New Issue
Block a user