File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,16 +6,16 @@ ifeq ($(INTEL), 1)
66# if you wish to use the Intel compiler, please do "make INTEL=1".
77 YOURCXX ?= /opt/intel/bin/icpc
88ifeq ($(DEBUG ) ,1)
9- CXXFLAGS = -O3 -Wall -ansi -DDEBUG=1 -D_GLIBCXX_DEBUG -ggdb
9+ CXXFLAGS = -std=c++11 - O3 -Wall -ansi -DDEBUG=1 -D_GLIBCXX_DEBUG -ggdb
1010else
11- CXXFLAGS = -O3 -Wall -ansi -DNDEBUG=1 -ggdb
11+ CXXFLAGS = -std=c++11 - O3 -Wall -ansi -DNDEBUG=1 -ggdb
1212endif # debug
1313else #intel
1414 YOURCXX ?= g++
1515ifeq ($(DEBUG ) ,1)
16- CXXFLAGS = -Weffc++ -pedantic -ggdb -DDEBUG=1 -D_GLIBCXX_DEBUG -Wall -Wextra -Wcast-align
16+ CXXFLAGS = -std=c++11 - Weffc++ -pedantic -ggdb -DDEBUG=1 -D_GLIBCXX_DEBUG -Wall -Wextra -Wcast-align
1717else
18- CXXFLAGS = -Weffc++ -pedantic -O3 -Wall -Wextra -Wcast-align
18+ CXXFLAGS = -std=c++11 - Weffc++ -pedantic -O3 -Wall -Wextra -Wcast-align
1919endif # debug
2020endif # intel
2121
You can’t perform that action at this time.
0 commit comments