parallel-libs/boost: different take on adding -std=c++11 for intel
@@ -121,12 +121,14 @@ export MPIFC=mpifc
export MPICXX=mpicxx
%endif
+%if "%{compiler_family}" == "intel"
+export MPICXX="$MPICXX -std=c++11"
+%endif
+
export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-unused-local-typedefs -Wno-deprecated-declarations"
export RPM_LD_FLAGS
-%if "%{compiler_family}" == "intel"
-export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -std=c++11"
-%endif
+
cat << "EOF" >> user-config.jam
%if "%{compiler_family}" == "gnu8"
