From 2087c2aeb7d75ddbc89b346e8b7c60f7b08bd33e Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Sat, 10 Aug 2013 00:13:58 -0700 Subject: [PATCH] Use '-std=c++0x' for older gcc that support it --- SConstruct | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SConstruct b/SConstruct index 0386a050d..bf71496f7 100644 --- a/SConstruct +++ b/SConstruct @@ -190,6 +190,8 @@ env.Append(CXXFLAGS = ['-frtti']) if (int(GCC_VERSION[0]) > 4 or (int(GCC_VERSION[0]) == 4 and int(GCC_VERSION[1]) >= 7)): env.Append(CXXFLAGS = ['-std=c++11']) +elif (int(GCC_VERSION[0]) == 4 and int(GCC_VERSION[1]) == 6): + env.Append(CXXFLAGS = ['-std=c++0x']) # FreeBSD doesn't support O_DSYNC if FreeBSD: