diff options
author | Christian Pointner <equinox@anytun.org> | 2018-06-09 00:43:40 +0200 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2018-06-09 00:43:40 +0200 |
commit | 32e9e9ace9f34fa547b727f9929b5734a6392984 (patch) | |
tree | 899303dbe4160acfd53a68a41f4552ba31fb0c01 /src/options.cpp | |
parent | updated changelog for release (diff) |
make builds reproducible
Diffstat (limited to 'src/options.cpp')
-rw-r--r-- | src/options.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/options.cpp b/src/options.cpp index 038e7b7..8cfc480 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -558,17 +558,16 @@ void Options::printVersion() #else std::cout << "anytun"; #endif - std::cout << VERSION_STRING_0 << std::endl; + std::cout << VERSION_STRING << std::endl; #if defined(__clang__) - std::cout << VERSION_STRING_1 << ", using CLANG " << __clang_version__ << std::endl; + std::cout << "built using CLANG " << __clang_version__ << " with " << CRYPTO_LIB_NAME << " crypto library." << std::endl; #elif defined(__GNUC__) - std::cout << VERSION_STRING_1 << ", using GCC " << __GNUC__ << '.' << __GNUC_MINOR__ - << '.' << __GNUC_PATCHLEVEL__ << std::endl; + std::cout << "built using GCC " << __GNUC__ << '.' << __GNUC_MINOR__ << '.' << __GNUC_PATCHLEVEL__ + << " with " << CRYPTO_LIB_NAME << " crypto library." << std::endl; #else - std::cout << VERSION_STRING_1 << std::endl; + std::cout << "built using an unknown compiler " << CRYPTO_LIB_NAME << " crypto library." << std::endl; #endif - } void Options::printUsage() |