From 66d26ea25df0f55f1664ba39110dc7eef18a5617 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Sat, 17 Oct 2015 01:33:09 +0200 Subject: [PATCH] Make the tlo reproducible by default. Rationale: https://wiki.debian.org/ReproducibleBuilds/Howto#Introduction --- tl-parser.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tl-parser.c b/tl-parser.c index 4d9fe0c..524b196 100644 --- a/tl-parser.c +++ b/tl-parser.c @@ -2999,7 +2999,12 @@ void write_types (int f) { __f = f; wint (TLS_SCHEMA_V2); wint (0); +#ifdef TL_PARSER_NEED_TIME wint (time (0)); +#else + /* Make the tlo reproducible by default. Rationale: https://wiki.debian.org/ReproducibleBuilds/Howto#Introduction */ + wint (0); +#endif num = 0; wint (total_types_num); tree_act_tl_type (tl_type_tree, write_type);