Using __DATE__ and __TIME__ will break reproducible builds. The
resulting binary will change with each rebuild even if the source and
toolchain is identical.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-static char build_date[] = __DATE__ " at "__TIME__;
-
#include <assert.h>
#include <fcntl.h>
#include <stdio.h>
case 'V':
fprintf(stderr, "btrecord -- version %s\n",
my_btversion);
- fprintf(stderr, " Built on %s\n", build_date);
exit(0);
/*NOTREACHED*/
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-static char build_date[] = __DATE__ " at "__TIME__;
-
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
case 'V':
fprintf(stderr, "btreplay -- version %s\n",
my_btversion);
- fprintf(stderr, " Built on %s\n",
- build_date);
exit(0);
/*NOTREACHED*/