mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +00:00
ed58040794
This patch defines 'TZ_MAX_TIMES' as 1 when building 'localtime.c' to avoid a big stack allocation in the 'tzload()' function. Fixes #250.
10 lines
238 B
Makefile
10 lines
238 B
Makefile
LIBC_STDTIME_DIR = $(LIBC_DIR)/libc/stdtime
|
|
|
|
SRC_C = $(filter-out $(FILTER_OUT),$(notdir $(wildcard $(LIBC_STDTIME_DIR)/*.c)))
|
|
|
|
CC_OPT_localtime = -DTZ_MAX_TIMES=1
|
|
|
|
include $(REP_DIR)/lib/mk/libc-common.inc
|
|
|
|
vpath %.c $(LIBC_STDTIME_DIR)
|