blob: 348ecd4723bd48a143a02f7df6101c25ddbfc8da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
diff --git a/Makefile b/Makefile
index 4491e0b..a1ca5c1 100644
--- a/Makefile
+++ b/Makefile
@@ -46,8 +46,7 @@ override CXXFLAGS+= \
-ftemplate-depth=100 \
-pipe \
$(INCS) \
- -DVERSION=\"$(VERSION)\" \
- -DGIT_COMMIT=\"$(GIT_COMMIT)\"
+ -DVERSION=\"$(VERSION)\"
ifndef ARCH
ARCH=AMD64
diff --git a/src/main.cpp b/src/main.cpp
index 8c65d71..19624a9 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -30,8 +30,6 @@
#include "guard.hpp"
#include "ctags.hpp"
-extern char __GIT_COMMIT;
-
namespace po = boost::program_options;
namespace fs = std::filesystem;
@@ -362,7 +360,7 @@ int main(int argc, char** argv)
if(vm.count("version"))
{
- std::cout << "NesFab " << VERSION << " (" << GIT_COMMIT << ", " << __DATE__ << ")";
+ std::cout << "NesFab " << VERSION;
#ifdef LEGAL
std::cout << " (ISA=legal)";
#endif
|