mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 17:06:30 +00:00
build: Stop using __{DATE,TIME}__
Recording the compilation time modifies the source for dubious gain, and interferes with reproducible builds [1]. [1] https://reproducible-builds.org/
This commit is contained in:

committed by
Michael Reed

parent
ec580da5f4
commit
c6aa71605f
@@ -35,8 +35,6 @@
|
||||
|
||||
char *Version = VIM_VERSION_SHORT;
|
||||
char *longVersion = NVIM_VERSION_LONG;
|
||||
char *longVersionWithDate = NVIM_VERSION_LONG \
|
||||
" (compiled " __DATE__ " " __TIME__ ")";
|
||||
char *version_buildtype = "Build type: " NVIM_VERSION_BUILD_TYPE;
|
||||
char *version_cflags = "Compilation: " NVIM_VERSION_CFLAGS;
|
||||
|
||||
@@ -1173,7 +1171,7 @@ void list_version(void)
|
||||
{
|
||||
// When adding features here, don't forget to update the list of
|
||||
// internal variables in eval.c!
|
||||
MSG(longVersionWithDate);
|
||||
MSG(longVersion);
|
||||
MSG(version_buildtype);
|
||||
MSG(version_cflags);
|
||||
|
||||
|
Reference in New Issue
Block a user