aboutsummaryrefslogtreecommitdiff
path: root/math/sdpa
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2004-08-18 11:20:11 +0000
committerMaho Nakata <maho@FreeBSD.org>2004-08-18 11:20:11 +0000
commit1ad5c7328f0e8f99e03e74fa0fe83978ee0b6899 (patch)
tree044f628ea52538ec7605dbb483ad4a9b174d41b6 /math/sdpa
parent096c1be7612334c1477db98d1e67b6748740fabf (diff)
downloadports-1ad5c7328f0e8f99e03e74fa0fe83978ee0b6899.tar.gz
ports-1ad5c7328f0e8f99e03e74fa0fe83978ee0b6899.zip
Notes
Diffstat (limited to 'math/sdpa')
-rw-r--r--math/sdpa/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/math/sdpa/Makefile b/math/sdpa/Makefile
index ec2f817df652..b29b17f8c8ba 100644
--- a/math/sdpa/Makefile
+++ b/math/sdpa/Makefile
@@ -44,11 +44,11 @@ CBLAS= -static -lcblas -lf77blas -latlas -lg2c
#WITH_ICC= yes
.if defined(WITH_OPTIMIZED_FLAGS)
-CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double
-CXXFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -Wno-multichar
-.if (${MACHINE_ARCH} == "i386")
-CFLAGS+= -mcpu=i686 -march=i686 -mfancy-math-387 -mpreferred-stack-boundary=3
-CXXFLAGS+= -mcpu=i686 -march=i686 -mfancy-math-387 -mpreferred-stack-boundary=3
+CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations
+CXXFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -Wno-multichar
+.if (${MACHINE_ARCH} == "i386" && !${MACHINE_ARCH} == "amd64" )
+CFLAGS+= -malign-double -mcpu=i686 -march=i686 -mfancy-math-387 -mpreferred-stack-boundary=3
+CXXFLAGS+= -malign-double -mcpu=i686 -march=i686 -mfancy-math-387 -mpreferred-stack-boundary=3
.endif # i386
.endif