summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <adam@sigterm.info>2016-04-22 10:17:11 -0500
committerAdam <adam@sigterm.info>2016-04-22 10:17:11 -0500
commita2dbcc620e92b0af418cdd03b736bf9ca54cf19b (patch)
tree025c40e5e218b90109091cf6e69294e7a881a395 /include
parent9b5fdea8f299fa63eb59196828b8546ab951d045 (diff)
parentfab07d6b75d8ddd9735b4bc02a57bf23cda5330f (diff)
Merge pull request #166 from jmdh/2.0-reproducible
Optionally strip variable build date from compiled program
Diffstat (limited to 'include')
-rw-r--r--include/anope.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/anope.h b/include/anope.h
index dadc73b13..48a4f7674 100644
--- a/include/anope.h
+++ b/include/anope.h
@@ -336,7 +336,9 @@ namespace Anope
template<typename T> class multimap : public std::multimap<string, T, ci::less> { };
template<typename T> class hash_map : public TR1NS::unordered_map<string, T, hash_ci, compare> { };
+#ifndef REPRODUCIBLE_BUILD
static const char *const compiled = __TIME__ " " __DATE__;
+#endif
/** The time Anope started.
*/