genode/repos/libports/lib/mk/libbz2.mk
Norman Feske 366bba0227 Exclude higher-level repos from strict warnings
This is a follow-up commit to "Increase default warning level", which
overrides Genode's new default warning level for targets contained in
higher-level repositories. By explicitly whitelisting all those targets,
we can selectively adjust them to the new strictness over time - by
looking out for 'CC_CXX_WARN_STRICT' in the target description files.

Issue #465
2018-01-17 12:14:36 +01:00

15 lines
343 B
Makefile

LIBBZ2_DIR := $(call select_from_ports,bzip2)/src/lib/libbz2
LIBS += libc
BIGFILES = -D_FILE_OFFSET_BITS=64
CC_DEF += -Winline $(BIGFILES)
SRC_C = blocksort.c huffman.c crctable.c randtable.c \
compress.c decompress.c bzlib.c
vpath %.c $(LIBBZ2_DIR)
# Bzip2 upstream recommends using a static library.
CC_CXX_WARN_STRICT =