genode/repos/libports/lib/mk/mpfr.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

16 lines
476 B
Makefile

MPFR_PORT_DIR := $(call select_from_ports,mpfr)
LIBS = libc gmp
CC_OPT += -DHAVE_STDARG -DHAVE_VA_COPY -DHAVE_INTTYPES_H
INC_DIR += $(REP_DIR)/include/mpfr $(MPFR_PORT_DIR)/include/mpfr
MPFR_SRC_C := $(notdir $(wildcard $(MPFR_PORT_DIR)/src/lib/mpfr/*.c))
FILTER_OUT := ansi2knr.c jyn_asympt.c round_raw_generic.c speed.c tuneup.c
SRC_C := $(filter-out $(FILTER_OUT),$(MPFR_SRC_C))
vpath %.c $(MPFR_PORT_DIR)/src/lib/mpfr
SHARED_LIB = 1
CC_CXX_WARN_STRICT =