Files
genode-world/lib/mk/sqlite.mk
Norman Feske 3ee1f80051 Disable strict warnings
This commit is a response to Genode's increased default warning level.
See the corresponding issue at:

  https://github.com/genodelabs/genode/issues/465
2018-01-17 19:27:10 +01:00

21 lines
474 B
Makefile

SQLITE_DIR = $(call select_from_ports,sqlite)/src/lib/sqlite
INC_DIR += $(SQLITE_DIR)
LIBS += pthread jitterentropy vfs libc
SRC_C = sqlite3.c
SRC_CC = genode_sqlite.cc
# https://github.com/genodelabs/genode/issues/754
CC_OPT += -DSQLITE_4_BYTE_ALIGNED_MALLOC
# Defenestrate the Unix and Windows OS layers and use our own.
CC_OPT += -DSQLITE_OS_OTHER=1
CC_OPT_sqlite3 += -Wno-unused
vpath %.c $(SQLITE_DIR)
vpath %.cc $(REP_DIR)/src/lib/sqlite
CC_CXX_WARN_STRICT =