diff options
author | Ismo Puustinen <ismo.puustinen@intel.com> | 2023-05-13 07:07:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-12 21:07:35 -0700 |
commit | 61e374f24718975e8175f048e70afaaf0c4771a9 (patch) | |
tree | 6591cdbdef9b7c7b0d994138702bf7774a651dc1 | |
parent | a277a590f00c13aed1d4244653e8bbab3c2d3558 (diff) | |
download | yasm-61e374f24718975e8175f048e70afaaf0c4771a9.tar.gz |
Remove __DATE__ from version strings (#198)
Having __DATE__ is causing compilation errors when it's defined by Bazel
build tool like this: -D__DATE__=redacted
-rw-r--r-- | frontends/tasm/tasm.c | 1 | ||||
-rw-r--r-- | frontends/vsyasm/vsyasm.c | 1 | ||||
-rw-r--r-- | frontends/yasm/yasm.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/frontends/tasm/tasm.c b/frontends/tasm/tasm.c index 93c11c98..353f8c58 100644 --- a/frontends/tasm/tasm.c +++ b/frontends/tasm/tasm.c @@ -228,7 +228,6 @@ static opt_option options[] = /* version message */ /*@observer@*/ static const char *version_msg[] = { PACKAGE_STRING, - "Compiled on " __DATE__ ".", "Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.", "Run yasm --license for licensing overview and summary." }; diff --git a/frontends/vsyasm/vsyasm.c b/frontends/vsyasm/vsyasm.c index 892b9b33..b3a5a592 100644 --- a/frontends/vsyasm/vsyasm.c +++ b/frontends/vsyasm/vsyasm.c @@ -220,7 +220,6 @@ static opt_option options[] = /* version message */ /*@observer@*/ static const char *version_msg[] = { PACKAGE_STRING, - "Compiled on " __DATE__ ".", "Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.", "Run yasm --license for licensing overview and summary." }; diff --git a/frontends/yasm/yasm.c b/frontends/yasm/yasm.c index bc6f379a..7ac141e6 100644 --- a/frontends/yasm/yasm.c +++ b/frontends/yasm/yasm.c @@ -219,7 +219,6 @@ static opt_option options[] = /* version message */ /*@observer@*/ static const char *version_msg[] = { PACKAGE_STRING, - "Compiled on " __DATE__ ".", "Copyright (c) 2001-2014 Peter Johnson and other Yasm developers.", "Run yasm --license for licensing overview and summary." }; |