From 38a29f523a0c2536c05ca4056b365f6b0aee81da Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 4 Jan 2017 21:56:35 +0100 Subject: cherry-pick build reproducibility fixes from master --- src/options.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/options.c') 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 } -- cgit v1.2.3