From 357f29acf5090796ca72f9508626fc118a4fb865 Mon Sep 17 00:00:00 2001 From: David Terei Date: Thu, 11 Dec 2014 21:04:37 -0800 Subject: [PATCH] specify c++11 in scons --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 3a1ab9a..57d0054 100644 --- a/SConstruct +++ b/SConstruct @@ -8,7 +8,7 @@ env['HAVE_POSIX_BARRIER'] = True env.Append(CPPPATH = ['/usr/local/include', '/opt/local/include']) env.Append(LIBPATH = ['/opt/local/lib']) -env.Append(CCFLAGS = '-std=c++0x -D_GNU_SOURCE') +env.Append(CCFLAGS = '-std=c++11 -D_GNU_SOURCE') if sys.platform == 'darwin': env['CC'] = 'clang' env['CXX'] = 'clang++'