2

I have both options on in my Makefile, Basically, my Make file looks like this

$OPT_FLAG := -O2 -std=c++11 $CXXFLAG += $(OPT_FLAG) -std=c++14

so actual build command is sth like

g++ -m64 ... -std=c++11, -std=c++14 ...

and of course $CXXFLAG is passed as argument to invoke gcc build. In this case, am I using c++14 or c++11? my gcc version is 5.4

Jonathon Reinhart
  • 132,704
  • 33
  • 254
  • 328

0 Answers0