summaryrefslogtreecommitdiffstats
path: root/src/config.h.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-05 23:16:29 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-05 23:16:29 +0200
commit8f1dde5021d9623a951d1ccbc78cf1b1a55ccd7a (patch)
tree1a2a9aee6f224db95e60a7ba401b2087cdbdb661 /src/config.h.in
parent002bc79991286934a9593b80635c27d4238cdfc4 (diff)
patch 8.2.0910: Vim is not reproducibly buildablev8.2.0910
Problem: Vim is not reproducibly buildable. Solution: Use the $SOURCE_DATE_EPOCH environment variable in configure. (James McCoy, closes #513) Give a warning about using it.
Diffstat (limited to 'src/config.h.in')
-rw-r--r--src/config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.h.in b/src/config.h.in
index 5c8c7e5561..7055b6f005 100644
--- a/src/config.h.in
+++ b/src/config.h.in
@@ -30,6 +30,9 @@
/* Define when __DATE__ " " __TIME__ can be used */
#undef HAVE_DATE_TIME
+/* Defined from $SOURCE_DATE_EPOCH, used as the build date */
+#undef BUILD_DATE
+
/* Define when __attribute__((unused)) can be used */
#undef HAVE_ATTRIBUTE_UNUSED