diff options
author | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2016-11-04 21:44:19 +0100 |
---|---|---|
committer | Paul Fertser <fercerpav@gmail.com> | 2016-12-08 12:55:19 +0000 |
commit | 3a4af874874ad623553ac061a771d428bce1e814 (patch) | |
tree | 632c4e8d3a25937addbde66e277533c97162d3a4 /src/openocd.c | |
parent | fff81c3baac920dabce4093f53a22bab209bf870 (diff) |
Remove build date from banner for releases
In support for reproducible builds, see
https://wiki.debian.org/ReproducibleBuilds
Fixes Debian bug #834316.
Change-Id: Id81ec72a87bf6dd99abfd2a0ae074658111bc9a3
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/3866
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'src/openocd.c')
-rw-r--r-- | src/openocd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/openocd.c b/src/openocd.c index b5bb44b3..94fab3a9 100644 --- a/src/openocd.c +++ b/src/openocd.c @@ -45,8 +45,13 @@ #include <strings.h> #endif +#ifdef PKGBLDDATE #define OPENOCD_VERSION \ "Open On-Chip Debugger " VERSION RELSTR " (" PKGBLDDATE ")" +#else +#define OPENOCD_VERSION \ + "Open On-Chip Debugger " VERSION RELSTR +#endif static const char openocd_startup_tcl[] = { #include "startup_tcl.inc" |