diff options
author | Christian Pointner <equinox@anytun.org> | 2017-01-04 21:56:35 +0100 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2017-01-04 22:12:44 +0100 |
commit | 38a29f523a0c2536c05ca4056b365f6b0aee81da (patch) | |
tree | 8a32e8f745d2a9a00bfa2beb3fec4f048f65f034 /src/options.c | |
parent | updated doc and other stuff after moving to GIT (diff) |
cherry-pick build reproducibility fixes from master
Diffstat (limited to 'src/options.c')
-rw-r--r-- | src/options.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/options.c b/src/options.c index c3038bb..8f75b8d 100644 --- a/src/options.c +++ b/src/options.c @@ -480,13 +480,13 @@ void options_print_usage() void options_print_version() { - printf("%s\n", VERSION_STRING_0); + printf("%s\n", VERSION_STRING); #if defined(__clang__) - printf("%s, using CLANG %s\n", VERSION_STRING_1, __clang_version__); + printf("built using CLANG %s with %s crypto library.\n", __clang_version__, CRYPTO_LIB_NAME); #elif defined(__GNUC__) - printf("%s, using GCC %d.%d.%d\n", VERSION_STRING_1, __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__); + printf("built using GCC %d.%d.%d with %s crypto library\n", __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__, CRYPTO_LIB_NAME); #else - printf("%s\n", VERSION_STRING_1); + printf("built using an unknown compiler with %s crypto library\n", CRYPTO_LIB_NAME, CRYPTO_LIB_NAME); #endif } |