2014-05-07 23:52:52 +02:00
|
|
|
LIBC_LOCALE_DIR = $(LIBC_DIR)/lib/libc/locale
|
2011-12-22 16:19:25 +01:00
|
|
|
|
2019-04-26 12:47:33 +02:00
|
|
|
CC_OPT += -D_Thread_local=""
|
|
|
|
|
|
|
|
# strip locale support down to "C"
|
|
|
|
FILTER_OUT = \
|
|
|
|
c16rtomb.c c32rtomb_iconv.c mbrtoc16_iconv.c mbrtoc32_iconv.c \
|
|
|
|
setlocale.c xlocale.c setrunelocale.c \
|
|
|
|
ascii.c big5.c euc.co gb18030.c gb2312.c gbk.c mbsinit.c mskanji.c utf8.c \
|
|
|
|
|
|
|
|
SRC_C = $(filter-out $(FILTER_OUT),$(notdir $(wildcard $(LIBC_LOCALE_DIR)/*.c)))
|
|
|
|
|
|
|
|
# locale dummies
|
|
|
|
SRC_CC += nolocale.cc
|
|
|
|
CXX_OPT += -fpermissive
|
2011-12-22 16:19:25 +01:00
|
|
|
|
|
|
|
include $(REP_DIR)/lib/mk/libc-common.inc
|
|
|
|
|
|
|
|
vpath %.c $(LIBC_LOCALE_DIR)
|
2019-04-26 12:47:33 +02:00
|
|
|
vpath nolocale.cc $(REP_DIR)/src/lib/libc
|
2018-01-03 18:40:54 +01:00
|
|
|
|
|
|
|
CC_CXX_WARN_STRICT =
|