summaryrefslogtreecommitdiffstats
path: root/src/qmainrec.cpp
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2015-05-15 18:19:22 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2015-05-15 18:19:22 +0200
commitebfc0ed789a852625121f67878db5e2a7526a5e3 (patch)
tree3a8d9bc544d9da0fed7b617d5d20451dceeb8179 /src/qmainrec.cpp
parenta4a4873909f1045bc98b2c3b3477c1700e538034 (diff)
Do not record compilation time by default, will help to get reproductible build
Diffstat (limited to 'src/qmainrec.cpp')
-rw-r--r--src/qmainrec.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qmainrec.cpp b/src/qmainrec.cpp
index b8cf0ad..43b9c94 100644
--- a/src/qmainrec.cpp
+++ b/src/qmainrec.cpp
@@ -63,7 +63,9 @@ static void display_version(void)
printf("\n");
printf("Version: %s\n", VERSION);
printf("Compiler: %s\n", get_compiler());
+#ifdef RECORD_COMPILATION_DATE
printf("Compilation date: %s\n", get_compilation_date());
+#endif
printf("ext2fs lib: %s, ntfs lib: %s, ewf lib: %s, libjpeg: %s\n",
td_ext2fs_version(), td_ntfs_version(), td_ewf_version(), td_jpeg_version());
printf("OS: %s\n" , get_os());
@@ -114,7 +116,9 @@ int main(int argc, char *argv[])
log_info("PhotoRec %s, Data Recovery Utility, %s\nChristophe GRENIER <grenier@cgsecurity.org>\nhttp://www.cgsecurity.org\n", VERSION, TESTDISKDATE);
log_info("OS: %s\n" , get_os());
log_info("Compiler: %s\n", get_compiler());
+#ifdef RECORD_COMPILATION_DATE
log_info("Compilation date: %s\n", get_compilation_date());
+#endif
log_info("ext2fs lib: %s, ntfs lib: %s, ewf lib: %s, libjpeg: %s\n",
td_ext2fs_version(), td_ntfs_version(), td_ewf_version(), td_jpeg_version());