From 610e9e3660313454300d89aec8d280b78caecb35 Mon Sep 17 00:00:00 2001 From: orignal Date: Mon, 22 Sep 2014 21:56:01 -0400 Subject: [PATCH] use c++11 for 4.9 only --- Makefile.linux | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.linux b/Makefile.linux index a4b63847..7a2a7ee8 100644 --- a/Makefile.linux +++ b/Makefile.linux @@ -5,10 +5,10 @@ ifeq ($(shell expr match ${CXXVER} "4\.[0-5]"),3) $(error Compiler too old) endif -ifeq (${CXXVER},"4.6") - CFLAGS += -std=c++0x -else +ifeq (${CXXVER},"4.9") CFLAGS += -std=c++11 +else + CFLAGS += -std=c++0x endif include filelist.mk