From aaccecd14d89bc182a8bd42c67d5af2fc8bf5bb8 Mon Sep 17 00:00:00 2001 From: Edward Brash <brash@jlab.org> Date: Thu, 14 Sep 2017 19:54:02 +0100 Subject: [PATCH] Remove explicit setting of "c++-11" compiler flag - this is handled with ROOTCONFIG --- SConstruct | 6 ------ 1 file changed, 6 deletions(-) diff --git a/SConstruct b/SConstruct index 82066ea..ddd8fcc 100644 --- a/SConstruct +++ b/SConstruct @@ -224,12 +224,6 @@ if pbaseenv['CXX'] == 'g++': if (gxxVersion[0] < 4) or (gxxVersion[0] == 4 and gxxVersion[1] < 4): print('Error: g++ version too old! Need at least g++ 4.4!') 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'] ##SConscript('podd/SConstruct') -- GitLab