Skip to content

Commit

Permalink
Drop build date from generated file
Browse files Browse the repository at this point in the history
for reproducible builds.

Without this, dagcheck.c in the debugsource package
varies across builds.
  • Loading branch information
bmwiedemann committed Jan 25, 2025
1 parent 3fb9006 commit a096f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/tools/lcc/lburg/lburg.c
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ static void emitdefs(Nonterm nts, int ntnumber) {
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");
Expand Down

0 comments on commit a096f9c

Please sign in to comment.