summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authoraristocratos <gnmjpl@gmail.com>2021-09-26 13:46:51 +0200
committeraristocratos <gnmjpl@gmail.com>2021-09-26 13:46:51 +0200
commit68d88e6e4d5ad0fb0edb1db0fcc11f4fe2e1bf7b (patch)
tree4f287b4c6e25003c6d9005858cb84299581a8cee /Makefile
parentf8cc4c437828ec6e4a2f2e5c50b80cfc45916c73 (diff)
v1.0.9 Bug fixesv1.0.9
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 0cca16b..e6b4d44 100644
--- a/Makefile
+++ b/Makefile
@@ -40,13 +40,11 @@ override CXX_VERSION := $(shell $(CXX) -dumpfullversion -dumpversion || echo 0)
#? Try to make sure we are using GCC/G++ version 11 or later if not instructed to use g++-10
ifeq ($(CXX),g++)
- ifneq ($(CXX),g++-10)
- V_MAJOR := $(shell echo $(CXX_VERSION) | cut -f1 -d".")
- ifneq ($(shell test $(V_MAJOR) -ge 11; echo $$?),0)
- ifeq ($(shell command -v g++-11 >/dev/null; echo $$?),0)
- override CXX := g++-11
- override CXX_VERSION := $(shell $(CXX) -dumpfullversion -dumpversion || echo 0)
- endif
+ V_MAJOR := $(shell echo $(CXX_VERSION) | cut -f1 -d".")
+ ifneq ($(shell test $(V_MAJOR) -ge 11; echo $$?),0)
+ ifeq ($(shell command -v g++-11 >/dev/null; echo $$?),0)
+ override CXX := g++-11
+ override CXX_VERSION := $(shell $(CXX) -dumpfullversion -dumpversion || echo 0)
endif
endif
endif