From 510d29b381511b5fb9278d9909fc216774cce381 Mon Sep 17 00:00:00 2001 From: orignal Date: Sat, 23 Jun 2018 06:56:05 -0400 Subject: [PATCH] gcc 8 arch support --- Makefile.linux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.linux b/Makefile.linux index 2c30bbb0..cf045eb4 100644 --- a/Makefile.linux +++ b/Makefile.linux @@ -21,7 +21,7 @@ else ifeq ($(shell expr match ${CXXVER} "4\.6"),3) # = 4.6 NEEDED_CXXFLAGS += -std=c++0x else ifeq ($(shell expr match ${CXXVER} "[5-7]\.[0-9]"),3) # gcc >= 5.0 NEEDED_CXXFLAGS += -std=c++11 -else ifeq ($(shell expr match ${CXXVER} "7"),1) # gcc 7 ubuntu +else ifeq ($(shell expr match ${CXXVER} "[7-8]"),1) # gcc 7 ubuntu or gcc 8 arch NEEDED_CXXFLAGS += -std=c++11 else # not supported $(error Compiler too old)