Have -std=c++11 as default flags when COMPILER is not set for ACC, CL and MP

This commit is contained in:
Tom Deakin 2017-02-24 11:50:25 +00:00
parent e1ea01f0c2
commit cbf15e8954
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ COMPILER_PGI = pgc++
COMPILER_CRAY = CC
CXX = $(COMPILER_$(COMPILER))
FLAGS_ = -O3
FLAGS_ = -O3 -std=c++11
FLAGS_PGI = -std=c++11 -O3 -acc
ifeq ($(COMPILER), PGI)

View File

@ -7,7 +7,7 @@ COMPILER_ = $(CXX)
COMPILER_GNU = g++
COMPILER_CRAY = CC
FLAGS_ = -O3
FLAGS_ = -O3 -std=c++11
FLAGS_GNU = -O3 -std=c++11
FLAGS_CRAY = -O3 -hstd=c++11
CXXFLAGS=$(FLAGS_$(COMPILER))

View File

@ -10,7 +10,7 @@ COMPILER_CRAY = CC
COMPILER_CLANG = clang++
CXX = $(COMPILER_$(COMPILER))
FLAGS_ = -O3
FLAGS_ = -O3 -std=c++11
FLAGS_GNU = -O3 -std=c++11
FLAGS_INTEL = -O3 -std=c++11 -xHOST
FLAGS_CRAY = -O3 -hstd=c++11