[PATCH rt-tests] pi_stress: remove timestamp of compilation from version output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Having the date and time of compilation is hardly useful and is in the
way for reproducible building binaries.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
---
Hello,

a few people work on getting reproducible builds for Debian. Using
__DATE__ and __TIME__ obviously makes the rt-tests package fail to
compile in a deterministic fashion.

Best regards
Uwe

 src/pi_tests/pi_stress.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/pi_tests/pi_stress.c b/src/pi_tests/pi_stress.c
index e273d62..9b33fad 100644
--- a/src/pi_tests/pi_stress.c
+++ b/src/pi_tests/pi_stress.c
@@ -1235,7 +1235,6 @@ void process_command_line(int argc, char **argv)
 			break;
 		case 'V':
 			printf("pi_stress v%1.2f ", VERSION_STRING);
-			printf("(%s %s)\n", __DATE__, __TIME__);
 			exit(0);
 		case 'u':
 			uniprocessor = 1;
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux