diff options
author | Sadie Powell <sadie@witchery.services> | 2025-03-06 01:23:14 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2025-03-06 01:24:39 +0000 |
commit | 2091dc68bc0bbb8fe29c8123fd59f9f42dc22737 (patch) | |
tree | e68931a36731900e3e64deebc83171c4028c6c34 /src | |
parent | 9926ac5a05ba741690f51a3265f2523a9e43a5c7 (diff) |
Move REPRODUCIBLE_BUILD to sysconf.
Diffstat (limited to 'src')
-rw-r--r-- | src/misc.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/misc.cpp b/src/misc.cpp index 6f0d95833..4832fabcb 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -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 |