Skip to content
Snippets Groups Projects
Commit aaccecd1 authored by Edward Brash's avatar Edward Brash Committed by Stephen A. Wood
Browse files

Remove explicit setting of "c++-11" compiler flag - this is handled with ROOTCONFIG

parent 5afc3f8a
No related branches found
No related tags found
No related merge requests found
...@@ -224,12 +224,6 @@ if pbaseenv['CXX'] == 'g++': ...@@ -224,12 +224,6 @@ if pbaseenv['CXX'] == 'g++':
if (gxxVersion[0] < 4) or (gxxVersion[0] == 4 and gxxVersion[1] < 4): if (gxxVersion[0] < 4) or (gxxVersion[0] == 4 and gxxVersion[1] < 4):
print('Error: g++ version too old! Need at least g++ 4.4!') print('Error: g++ version too old! Need at least g++ 4.4!')
Exit(1) Exit(1)
elif gxxVersion[0] == 4 and 4 <= gxxVersion[1] < 7:
if '-std=c++0x' not in pbaseenv['CXXFLAGS']:
pbaseenv.Append(CXXFLAGS='-std=c++0x')
else:
if '-std=c++11' not in pbaseenv['CXXFLAGS']:
pbaseenv.Append(CXXFLAGS='-std=c++11')
##directorylist = ['./','src','podd','podd/src','podd/hana_decode'] ##directorylist = ['./','src','podd','podd/src','podd/hana_decode']
##SConscript('podd/SConstruct') ##SConscript('podd/SConstruct')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment