diff options
-rw-r--r-- | math/blacs/Makefile | 2 | ||||
-rw-r--r-- | math/scalapack/Makefile | 2 | ||||
-rw-r--r-- | math/sdpa/Makefile | 2 | ||||
-rw-r--r-- | math/sdpara/Makefile | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/math/blacs/Makefile b/math/blacs/Makefile index 8524912102bc..3b3fac6590a2 100644 --- a/math/blacs/Makefile +++ b/math/blacs/Makefile @@ -45,7 +45,7 @@ DEBUG_LEVEL= 0 .if ${ARCH} == "amd64" FFLAGS+= -pipe -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time CFLAGS+= -pipe -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -.else if ${ARCH} == "i386" +.elif ${ARCH} == "i386" FFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -mcpu=i686 -march=i686 -mfancy-math-387 -mpreferred-stack-boundary=3 CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -mcpu=i686 -march=i686 -mfancy-math-387 -mpreferred-stack-boundary=3 .else diff --git a/math/scalapack/Makefile b/math/scalapack/Makefile index 6197e6986659..b4cd1f6e336a 100644 --- a/math/scalapack/Makefile +++ b/math/scalapack/Makefile @@ -47,7 +47,7 @@ PKGMESSAGE= ${WRKDIR}/pkg-message .if ${ARCH} == "amd64" FFLAGS+= -pipe -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time CFLAGS+= -pipe -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -.else if ${ARCH} == "i386" +.elif ${ARCH} == "i386" FFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -mcpu=i686 -march=i686 -mfancy-math-387 -mpreferred-stack-boundary=3 CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -mcpu=i686 -march=i686 -mfancy-math-387 -mpreferred-stack-boundary=3 .else diff --git a/math/sdpa/Makefile b/math/sdpa/Makefile index 907fde6c2b02..6a7155e419af 100644 --- a/math/sdpa/Makefile +++ b/math/sdpa/Makefile @@ -47,7 +47,7 @@ PLIST_SUB+= PORTVERSION="${PORTVERSION}" .if ${ARCH} == "amd64" CFLAGS+= -pipe -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time CXXFLAGS+= -pipe -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -.else if ${ARCH} == "i386" +.elif ${ARCH} == "i386" CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -mcpu=i686 -march=i686 -mfancy-math-387 -mpreferred-stack-boundary=3 CXXFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -Wno-multichar -malign-double -mcpu=i686 -march=i686 -mfancy-math-387 -mpreferred-stack-boundary=3 .else diff --git a/math/sdpara/Makefile b/math/sdpara/Makefile index 98a63f654fd4..e1d6f073c27d 100644 --- a/math/sdpara/Makefile +++ b/math/sdpara/Makefile @@ -38,7 +38,7 @@ PLIST_SUB+= PORTVERSION="${PORTVERSION}" .if ${ARCH} == "amd64" FFLAGS+= -pipe -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time CFLAGS+= -pipe -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -.else if ${ARCH} == "i386" +.elif ${ARCH} == "i386" FFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -mcpu=i686 -march=i686 -mfancy-math-387 -mpreferred-stack-boundary=3 CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -mcpu=i686 -march=i686 -mfancy-math-387 -mpreferred-stack-boundary=3 .else |