Skip to content

Commit

Permalink
kamcmd: support VERSION_NODATE and VERSION_DATE for reproducible builds
Browse files Browse the repository at this point in the history
support added e03d127

Related: #60
(cherry picked from commit 1935977)
  • Loading branch information
linuxmaniac authored and miconda committed Sep 8, 2015
1 parent 5056765 commit 4d8a2b6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions utils/kamcmd/kamcmd.c
Expand Up @@ -87,7 +87,15 @@

static char id[]="$Id$";
static char version[]= NAME " " VERSION;
#ifdef VERSION_NODATE
static char compiled[] = "";
#else
#ifdef VERSION_DATE
static char compiled[]= VERSION_DATE;
#else
static char compiled[]= __TIME__ " " __DATE__;
#endif
#endif
static char help_msg[]="\
Usage: " NAME " [options][-s address] [ cmd ]\n\
Options:\n\
Expand Down

0 comments on commit 4d8a2b6

Please sign in to comment.