genode/repos/libports/lib/mk/spec/x86_32/libc-gen.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

26 lines
533 B
Makefile

include $(REP_DIR)/lib/mk/libc-gen.inc
LIBC_GEN_I386_DIR = $(LIBC_DIR)/lib/libc/i386/gen
FILTER_OUT_S += rfork_thread.S _setjmp.S setjmp.S
FILTER_OUT_C += _set_tp.c
#
# Filter functions conflicting with libm
#
FILTER_OUT_S += fabs.S modf.S
FILTER_OUT_C += frexp.c
SRC_S = $(filter-out $(FILTER_OUT_S),$(notdir $(wildcard $(LIBC_GEN_I386_DIR)/*.S)))
SRC_C += flt_rounds.c
#
# Additional functions for shared libraries
#
SRC_C += makecontext.c
vpath %.c $(LIBC_GEN_I386_DIR)
vpath %.S $(LIBC_GEN_I386_DIR)
CC_CXX_WARN_STRICT =