diff options
author | Bernhard Walle <bernhard@bwalle.de> | 2012-01-16 21:42:55 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-01-19 21:06:35 +0100 |
commit | ffa25133d812f6cdf246f13dd730941502ceabba (patch) | |
tree | 12b8753f02e4fac41248d8de067b2943482d0359 | |
parent | a235a2389c7902cfe384157176126f1d7a3af6e3 (diff) | |
download | ptxdist-ffa25133d812f6cdf246f13dd730941502ceabba.tar.gz ptxdist-ffa25133d812f6cdf246f13dd730941502ceabba.tar.xz |
host-tz-database: Fix build on Darwin
This patch fixes following build error:
localtime.c:1174: error: static declaration of 'tzsetwall' follows non-static declaration
/usr/include/time.h:150: error: previous declaration of 'tzsetwall' was here
On Linux:
% grep -r tzsetwall /usr/include/
[nothing]
On Mac OS 10.7:
% grep -r tzsetwall /usr/include/
/usr/include/time.h:void tzsetwall(void);
So this patch doesn't break Linux.
Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/host-tz-database.make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/host-tz-database.make b/rules/host-tz-database.make index 018ec9774..54a1003ef 100644 --- a/rules/host-tz-database.make +++ b/rules/host-tz-database.make @@ -75,7 +75,7 @@ $(STATEDIR)/host-tz-database.extract: HOST_TZ_DATABASE_PATH := PATH=$(HOST_PATH) HOST_TZ_DATABASE_CONF_TOOL := NO HOST_TZ_DATABASE_MAKE_OPT := \ - zic TZDIR=/usr/share/zoneinfo + zic TZDIR=/usr/share/zoneinfo CFLAGS=-DSTD_INSPIRED HOST_TZ_DATABASE_INSTALL_OPT := \ posix_only TZDIR=$(HOST_TZ_DATABASE_PKGDIR)/usr/share/zoneinfo |