diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-06-09 11:09:21 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-06-09 13:34:09 +0200 |
| commit | d096d22446a1d126ea78170f37a148ce0ca43df2 (patch) | |
| tree | a40fd1fe82cb06174bddc76e12cf139b368050db /src/clientversion.cpp | |
| parent | Merge #8169: OSX diskimages need 0775 folder permissions (diff) | |
| download | discoin-d096d22446a1d126ea78170f37a148ce0ca43df2.tar.xz discoin-d096d22446a1d126ea78170f37a148ce0ca43df2.zip | |
build: Get rid of `CLIENT_DATE`
Putting the build date in the executable is a practice that has no place
in these days, now that deterministic building is increasingly common.
Continues #7732 which did this for the GUI.
Diffstat (limited to 'src/clientversion.cpp')
| -rw-r--r-- | src/clientversion.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/clientversion.cpp b/src/clientversion.cpp index aae0569bb..bfe9e16f8 100644 --- a/src/clientversion.cpp +++ b/src/clientversion.cpp @@ -67,16 +67,7 @@ const std::string CLIENT_NAME("Satoshi"); #endif #endif -#ifndef BUILD_DATE -#ifdef GIT_COMMIT_DATE -#define BUILD_DATE GIT_COMMIT_DATE -#else -#define BUILD_DATE __DATE__ ", " __TIME__ -#endif -#endif - const std::string CLIENT_BUILD(BUILD_DESC CLIENT_VERSION_SUFFIX); -const std::string CLIENT_DATE(BUILD_DATE); static std::string FormatVersion(int nVersion) { |