aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2015-09-09 18:17:12 +0200
committerRickard Green <[email protected]>2015-09-09 18:17:12 +0200
commit79da6e851e98729d103979ba466d47f4fa4421b2 (patch)
tree784997a4dd25c42715151ede2c4e55257badd9ca /erts/emulator/beam
parent4cfc35b1ef3667885b8de9df53b8ab8429117865 (diff)
parente4dedc6cffb5025161d9a6295523b215e5a165c7 (diff)
downloadotp-79da6e851e98729d103979ba466d47f4fa4421b2.tar.gz
otp-79da6e851e98729d103979ba466d47f4fa4421b2.tar.bz2
otp-79da6e851e98729d103979ba466d47f4fa4421b2.zip
Merge branch 'rickard/disable-saved-compile-time/OTP-12971' into maint
* rickard/disable-saved-compile-time/OTP-12971: Add configure switch --disable-saved-compile-time Conflicts: HOWTO/INSTALL.md
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r--erts/emulator/beam/break.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/beam/break.c b/erts/emulator/beam/break.c
index 64c8bc5e58..4ce9d24479 100644
--- a/erts/emulator/beam/break.c
+++ b/erts/emulator/beam/break.c
@@ -536,7 +536,9 @@ do_break(void)
erts_printf("Erlang (%s) emulator version "
ERLANG_VERSION "\n",
EMULATOR);
+#if ERTS_SAVED_COMPILE_TIME
erts_printf("Compiled on " ERLANG_COMPILE_DATE "\n");
+#endif
return;
case 'd':
distribution_info(ERTS_PRINT_STDOUT, NULL);
@@ -774,7 +776,9 @@ erl_crash_dump_v(char *file, int line, char* fmt, va_list args)
}
erts_fdprintf(fd, "System version: ");
erts_print_system_version(fd, NULL, NULL);
+#if ERTS_SAVED_COMPILE_TIME
erts_fdprintf(fd, "%s\n", "Compiled: " ERLANG_COMPILE_DATE);
+#endif
erts_fdprintf(fd, "Taints: ");
erts_print_nif_taints(fd, NULL);