Commit d596bfb0 authored by cully's avatar cully
Browse files

automatic selection of the gcc cpp11 option according to its version

parent 67d13e63
......@@ -29,7 +29,10 @@ def configure(conf):
conf.load('tbb')
conf.load('sferes')
common_flags = "-Wall -std=c++11 "
if int(conf.env['CC_VERSION'][0]+conf.env['CC_VERSION'][1])<47:
common_flags = "-Wall -std=c++0x "
else:
common_flags = "-Wall -std=c++11 "
cxxflags = conf.env['CXXFLAGS']
conf.check_boost(lib='serialization timer filesystem \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment