From 1c1590d6c021f5064887d3332b1038f8c5e36d75 Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" Date: Sat, 25 Jan 2025 19:50:05 +0100 Subject: [PATCH] Drop build date from generated file for reproducible builds. Without this, dagcheck.c in the debugsource package varies across builds. --- code/tools/lcc/lburg/lburg.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/tools/lcc/lburg/lburg.c b/code/tools/lcc/lburg/lburg.c index 7cf859ff..ddbeac53 100644 --- a/code/tools/lcc/lburg/lburg.c +++ b/code/tools/lcc/lburg/lburg.c @@ -456,9 +456,7 @@ static void emitdefs(Nonterm nts, int ntnumber) { /* emitheader - emit initial definitions */ static void emitheader(void) { - time_t timer = time(NULL); - - print("/*\ngenerated at %sby %s\n*/\n", ctime(&timer), rcsid); + print("/*\ngenerated by %s\n*/\n", rcsid); print("static void %Pkids(NODEPTR_TYPE, int, NODEPTR_TYPE[]);\n"); print("static void %Plabel(NODEPTR_TYPE);\n"); print("static int %Prule(void*, int);\n\n");