aboutsummaryrefslogtreecommitdiff
path: root/time/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'time/Makefile')
-rw-r--r--time/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/time/Makefile b/time/Makefile
index d90dbce..170639d 100644
--- a/time/Makefile
+++ b/time/Makefile
@@ -33,3 +33,10 @@ routines := offtime asctime clock ctime ctime_r difftime \
tests := test_time clocktest
include ../Rules
+
+tz-cflags = -DTZDIR='"$(zonedir)"' \
+ -DTZDEFAULT='"$(localtime-file)"' \
+ -DTZDEFRULES='"$(posixrules-file)"'
+
+CFLAGS-tzfile.c = $(tz-cflags)
+CFLAGS-tzset.c = $(tz-cflags)