From 8ea169937d5356484eb412b624e147d7cdacade6 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 13 Apr 2015 22:09:39 +0200 Subject: [PATCH] drop __DATE__ from fp_ident To meet Debian's reproducible builds [0] goal I remove the __DATE__ macro. In case this is not acceptable because the date of build is _really_ important / required I could come with a ifdef or something else. [0] https://wiki.debian.org/ReproducibleBuilds Signed-off-by: Sebastian Andrzej Siewior --- src/misc/fp_ident.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/misc/fp_ident.c b/src/misc/fp_ident.c index 98c5cc4..3e0ff38 100644 --- a/src/misc/fp_ident.c +++ b/src/misc/fp_ident.c @@ -15,7 +15,7 @@ const char *fp_ident(void) memset(buf, 0, sizeof(buf)); snprintf(buf, sizeof(buf)-1, -"TomsFastMath (%s)\n" +"TomsFastMath\n" "\n" "Sizeofs\n" "\tfp_digit = %lu\n" @@ -70,7 +70,7 @@ const char *fp_ident(void) #ifdef TFM_HUGE " TFM_HUGE " #endif -"\n", __DATE__, (unsigned long)sizeof(fp_digit), (unsigned long)sizeof(fp_word), FP_MAX_SIZE); +"\n", (unsigned long)sizeof(fp_digit), (unsigned long)sizeof(fp_word), FP_MAX_SIZE); if (sizeof(fp_digit) == sizeof(fp_word)) { strncat(buf, "WARNING: sizeof(fp_digit) == sizeof(fp_word), this build is likely to not work properly.\n",