specify c++11 in scons
This commit is contained in:
parent
a742f44cb7
commit
357f29acf5
@ -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++'
|
||||
|
Loading…
Reference in New Issue
Block a user