aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/utils/make_version
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/utils/make_version
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/utils/make_version')
-rwxr-xr-xerts/emulator/utils/make_version6
1 files changed, 5 insertions, 1 deletions
diff --git a/erts/emulator/utils/make_version b/erts/emulator/utils/make_version
index 3461dc1637..37bdff181a 100755
--- a/erts/emulator/utils/make_version
+++ b/erts/emulator/utils/make_version
@@ -59,7 +59,11 @@ print FILE <<EOF;
#define ERLANG_OTP_RELEASE "$release"
#define ERLANG_OTP_VERSION "$otp_version"
#define ERLANG_VERSION "$version"
-#define ERLANG_COMPILE_DATE "$time_str"
+#if ERTS_SAVED_COMPILE_TIME
+# define ERLANG_COMPILE_DATE "$time_str"
+#else
+# define ERLANG_COMPILE_DATE ""
+#endif
#define ERLANG_ARCHITECTURE "$architecture"
EOF