Don't put system architecture in generated headers.
authorJelmer Vernooij <jelmer@jelmer.uk>
Sun, 15 May 2016 23:04:49 +0000 (23:04 +0000)
committerJelmer Vernooij <jelmer@jelmer.uk>
Sun, 15 May 2016 23:04:49 +0000 (23:04 +0000)
Including HOST causes the build to be unreproducible.

include/bits.c

index 8db39dad5fcf7692645526a9015b43af7c30991f..e77df54faf12426b03b453981d792385936d25af 100644 (file)
@@ -141,9 +141,6 @@ int main(int argc, char **argv)
        }
        f = fopen(argv[1], "w");
     }
-    fprintf(f, "/* %s -- this file was generated for %s by\n", fn, HOST);
-    fprintf(f, "   %*s    %s */\n\n", (int)strlen(fn), "",
-           "$Id$");
     fprintf(f, "#ifndef %s\n", hb);
     fprintf(f, "#define %s\n", hb);
     fprintf(f, "\n");