blob: 5ec7dca45c1e1cf6ece814ccfb3d0fd4bf0617e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- a/Makefile
+++ b/Makefile
@@ -55,11 +55,11 @@ endif
#? Compiler and Linker
ifeq ($(shell command -v g++-11 >/dev/null; echo $$?),0)
- CXX := g++-11
+ CXX ?= g++-11
else ifeq ($(shell command -v g++11 >/dev/null; echo $$?),0)
- CXX := g++11
+ CXX ?= g++11
else ifeq ($(shell command -v g++ >/dev/null; echo $$?),0)
- CXX := g++
+ CXX ?= g++
endif
override CXX_VERSION := $(shell $(CXX) -dumpfullversion -dumpversion || echo 0)
|