mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-26 00:41:08 +00:00
e1e1fa23b7
This patch includes 'unistd.h' to avoid warnings about the implicit declaration of the functions ‘read’, 'close', and 'write.
15 lines
377 B
Makefile
15 lines
377 B
Makefile
ZLIB_DIR = $(call select_from_ports,zlib)/src/lib/zlib
|
|
LIBS += libc
|
|
INC_DIR += $(ZLIB_DIR)
|
|
SRC_C = adler32.c compress.c crc32.c deflate.c gzclose.c \
|
|
gzlib.c gzread.c gzwrite.c infback.c inffast.c inflate.c \
|
|
inftrees.c trees.c uncompr.c zutil.c
|
|
CC_WARN =
|
|
CC_OPT += -DZ_HAVE_UNISTD_H
|
|
|
|
vpath %.c $(ZLIB_DIR)
|
|
|
|
SHARED_LIB = yes
|
|
|
|
CC_CXX_WARN_STRICT =
|