mirror of
https://github.com/anope/anope.git
synced 2026-06-25 05:56:38 +02:00
Move REPRODUCIBLE_BUILD to sysconf.
This commit is contained in:
+4
-1
@@ -590,7 +590,7 @@ Anope::string Anope::VersionShort()
|
||||
|
||||
Anope::string Anope::VersionBuildString()
|
||||
{
|
||||
#ifdef REPRODUCIBLE_BUILD
|
||||
#if REPRODUCIBLE_BUILD
|
||||
Anope::string s = "build #" + Anope::ToString(BUILD);
|
||||
#else
|
||||
Anope::string s = "build #" + Anope::ToString(BUILD) + ", compiled " + Anope::compiled;
|
||||
@@ -603,6 +603,9 @@ Anope::string Anope::VersionBuildString()
|
||||
#ifdef VERSION_GIT
|
||||
flags += "G";
|
||||
#endif
|
||||
#if REPRODUCIBLE_BUILD
|
||||
flags += "R"
|
||||
#endif
|
||||
#ifdef _WIN32
|
||||
flags += "W";
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user