Skip to content

Commit

Permalink
drop build timestamp #define COMPILE
Browse files Browse the repository at this point in the history
Build timestamps prevent reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <[email protected]>
  • Loading branch information
lynxis committed Dec 10, 2017
1 parent 108271a commit 67ccee6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion docbook/version.h.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
#define PROJECT &quot;open-plc-utils&quot;
#define VERSION &quot;0.0.6&quot;
#define RELEASE &quot;OSRQCA-929&quot;
#define COMPILE __TIME__ &quot; &quot; __DATE__
#define CONTACT &quot;[email protected]&quot;
#define LICENSE &quot;Clear BSD&quot;

Expand Down
3 changes: 1 addition & 2 deletions tools/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ void version ()
printf (VERSION " ");
printf (RELEASE " ");
printf ("ISO C ");
printf (COMPANY " ");
printf (COMPILE "\n");
printf (COMPANY "\n");
return;
}

Expand Down
1 change: 0 additions & 1 deletion tools/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#define PROJECT "open-plc-utils"
#define VERSION "0.0.6"
#define RELEASE "OSRQCA-929"
#define COMPILE __TIME__ " " __DATE__
#define CONTACT "https://github.com/qca/open-plc-utils"
#define LICENSE "Clear BSD"

Expand Down

0 comments on commit 67ccee6

Please sign in to comment.