On Tue, Jun 26, 2018 at 08:56:52AM +0200, Alexander Dahl wrote:
> This reverts commit ee06ca66eb191271c937e9b0325a85a3c19dafc8.
> 
> Quote from the 2018a NEWS:
> 
> > Builders no longer need to specify -DHAVE_SNPRINTF on platforms that
> > have snprintf and use pre-C99 compilers.  (Problem reported by Jon
> > Skeet.)
> 
> Cc: Roland Hieber <[email protected]>
> Signed-off-by: Alexander Dahl <[email protected]>

Tested-by: Roland Hieber <[email protected]>

> ---
>  rules/host-tz-database.make | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/rules/host-tz-database.make b/rules/host-tz-database.make
> index 03b4bd906..c15d0feb7 100644
> --- a/rules/host-tz-database.make
> +++ b/rules/host-tz-database.make
> @@ -66,8 +66,8 @@ $(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 CFLAGS="-DSTD_INSPIRED -DHAVE_SNPRINTF"
> +     zic TZDIR=/usr/share/zoneinfo CFLAGS=-DSTD_INSPIRED
>  HOST_TZ_DATABASE_INSTALL_OPT := \
> -     posix_only TZDIR=/usr/share/zoneinfo CFLAGS="-DHAVE_SNPRINTF"
> +     posix_only TZDIR=/usr/share/zoneinfo
>  
>  # vim: syntax=make
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> ptxdist mailing list
> [email protected]

-- 
Roland Hieber                     | [email protected]     |
Pengutronix e.K.                  | https://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
[email protected]

Reply via email to