forked from ibphoenix/tomsfastmath
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 <sebastian@breakpoint.cc>
This commit is contained in:
parent
f0f92f033e
commit
8ea169937d
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user