summaryrefslogtreecommitdiffstats
path: root/rules/systemd.make
diff options
context:
space:
mode:
authorRoland Hieber <r.hieber@pengutronix.de>2018-02-12 11:40:23 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-02-12 14:26:44 +0100
commitee06ca66eb191271c937e9b0325a85a3c19dafc8 (patch)
treecb811c39491c15e4d46b20d0d68363bcf578b482 /rules/systemd.make
parent5f83bd6951df0849f884926cfb25122384ad1dee (diff)
downloadptxdist-ee06ca66eb191271c937e9b0325a85a3c19dafc8.tar.gz
ptxdist-ee06ca66eb191271c937e9b0325a85a3c19dafc8.tar.xz
host-tz-database: use snprintf provided by the host compiler
On certain host libc's, this prevents errors like: make[1]: Entering directory '/home/itk/bsp/platform-cpu20/build-host/tz-database' cc -DTZDIR=\"/usr/share/zoneinfo\" -c -o zdump.o zdump.c zdump.c:803:1: error: static declaration of 'snprintf' follows non-static declaration snprintf(char *s, size_t size, char const *format, ...) ^ In file included from zdump.c:23:0: /usr/include/stdio.h:386:12: note: previous declaration of 'snprintf' was here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ <builtin>: recipe for target 'zdump.o' failed make[1]: *** [zdump.o] Error 1 Signed-off-by: Roland Hieber <r.hieber@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/systemd.make')
0 files changed, 0 insertions, 0 deletions