summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorkr3nshaw <20672068+kr3nshaw@users.noreply.github.com>2020-06-08 04:52:13 +1000
committerGitHub <noreply@github.com>2020-06-08 04:52:13 +1000
commit4d7019cdaafee76f31dd69c9e1a932b9d192ee3c (patch)
tree15f6ececa54560b4722ccbe1be8b85d80e503263 /tools
parent1aade2794c1b0a620b4d824ad1e2c5f69f13e26c (diff)
parent98a0ac436c01d867566bfdd4ecda2e8603f2278d (diff)
Merge pull request #5 from PlatinumMaster/patch-3
GCC 9.
Diffstat (limited to 'tools')
-rw-r--r--tools/knarc/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/knarc/Makefile b/tools/knarc/Makefile
index 3a31e6dc..4e5e7971 100644
--- a/tools/knarc/Makefile
+++ b/tools/knarc/Makefile
@@ -1,3 +1,5 @@
+CXX ?= g++-9
+
CXXFLAGS := -std=c++17 -O2 -Wall -Wno-switch -lstdc++fs
SRCS := Source.cpp Narc.cpp
@@ -9,7 +11,7 @@ all: knarc
@:
knarc: $(SRCS) $(HEADERS)
- g++-8 $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS)
+ $(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS)
clean:
$(RM) knarc knarc.exe