mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 15:02:25 +00:00
d323072bb6
Fixes #4658
26 lines
620 B
Makefile
26 lines
620 B
Makefile
#
|
|
# Portion of the string library that is used by both the freestanding string
|
|
# library and the complete libc
|
|
#
|
|
|
|
#
|
|
# These files would infect the freestanding string library with the locale
|
|
# library
|
|
#
|
|
FILTER_OUT = strcoll.c strxfrm.c wcscoll.c wcsxfrm.c
|
|
|
|
LIBC_STRING_DIR = $(LIBC_DIR)/lib/libc/string
|
|
|
|
SRC_C = $(filter-out $(FILTER_OUT),$(notdir $(wildcard $(LIBC_STRING_DIR)/*.c)))
|
|
|
|
# prevent the generation of a 'memset()' call in 'memset()'
|
|
CC_OPT_memset += -fno-tree-loop-distribute-patterns
|
|
|
|
override CC_OLEVEL := -O3
|
|
|
|
include $(REP_DIR)/lib/mk/libc-common.inc
|
|
|
|
vpath %.c $(LIBC_STRING_DIR)
|
|
|
|
CC_CXX_WARN_STRICT =
|