From ed116e7cea4de322ccaad44e929add978477ac53 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Sat, 30 Mar 2019 13:05:32 +0300 Subject: [PATCH] add gcc 9 support --- Makefile.linux | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile.linux b/Makefile.linux index cb376e77..d1ccf143 100644 --- a/Makefile.linux +++ b/Makefile.linux @@ -19,10 +19,7 @@ else ifeq ($(shell expr match ${CXXVER} "4\.[7-9]"),3) # >= 4.7 NEEDED_CXXFLAGS += -std=c++11 -D_GLIBCXX_USE_NANOSLEEP=1 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 - LDLIBS = -latomic -else ifeq ($(shell expr match ${CXXVER} "[7-8]"),1) # gcc 7 ubuntu or gcc 8 arch +else ifeq ($(shell expr match ${CXXVER} "[5-9]"),1) # gcc >= 5 NEEDED_CXXFLAGS += -std=c++11 LDLIBS = -latomic else # not supported