diff --git a/config/gfortran.cfg b/config/gfortran.cfg index 94a12ccf..f561fcb7 100644 --- a/config/gfortran.cfg +++ b/config/gfortran.cfg @@ -35,7 +35,7 @@ OPENMP : 1 ; Append OpenMP flags # -ffast-math and the Fortran-specific # -fno-protect-parens and -fstack-arrays. [OPT] -FCFLAGS : -Ofast -march=native +FCFLAGS : -Ofast -msse4.2 # Profiling flags ################# diff --git a/configure b/configure index 98641633..2599fbbc 100755 --- a/configure +++ b/configure @@ -321,8 +321,8 @@ EOF echo \${QP_ROOT}/bin \ | sh \${QP_ROOT}/external/opam_installer.sh EOF - rm \${QP_ROOT}/external/opam_installer.sh - source \${OPAMROOT}/opam-init/init.sh > /dev/null 2> /dev/null || true + rm ${QP_ROOT}/external/opam_installer.sh + source ${OPAMROOT}/opam-init/init.sh > /dev/null 2> /dev/null || true opam switch create ocaml-base-compiler.4.07.1 || exit 1 opam init --verbose --yes --compiler=4.07.1 --disable-sandboxing eval $(opam env)