summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2017-01-04 21:56:35 +0100
committerChristian Pointner <equinox@anytun.org>2017-01-04 21:56:35 +0100
commit9b3f13c0521d846d89fd0bd0c69e74d17fddbc71 (patch)
tree027c8a5d550e16ba43ccbca527e6bd4dab76852d /src/options.c
parentupdated copyright header (diff)
improve build reproducibility
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/options.c b/src/options.c
index a70b39e..d564d39 100644
--- a/src/options.c
+++ b/src/options.c
@@ -483,13 +483,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\n", __clang_version__);
#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\n", __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__);
#else
- printf("%s\n", VERSION_STRING_1);
+ printf("built using an unknown compiler\n");
#endif
}