2014-05-07 21:52:52 +00:00
|
|
|
LIBC_LOCALE_DIR = $(LIBC_DIR)/lib/libc/locale
|
2011-12-22 15:19:25 +00:00
|
|
|
|
2019-04-26 10:47:33 +00: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 15:19:25 +00:00
|
|
|
|
|
|
|
include $(REP_DIR)/lib/mk/libc-common.inc
|
|
|
|
|
|
|
|
vpath %.c $(LIBC_LOCALE_DIR)
|
2019-04-26 10:47:33 +00:00
|
|
|
vpath nolocale.cc $(REP_DIR)/src/lib/libc
|
2018-01-03 17:40:54 +00:00
|
|
|
|
|
|
|
CC_CXX_WARN_STRICT =
|