diff options
author | maho <maho@FreeBSD.org> | 2004-08-18 19:20:11 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2004-08-18 19:20:11 +0800 |
commit | 81bcec16de4a612151e564a8a36b822109aafaac (patch) | |
tree | a38f0ecc2f2e209e312c3f5fef33a2362aedd96d /math | |
parent | 9e52560554354bd785ce4e5bc09e3a6568494d28 (diff) | |
download | freebsd-ports-gnome-81bcec16de4a612151e564a8a36b822109aafaac.tar.gz freebsd-ports-gnome-81bcec16de4a612151e564a8a36b822109aafaac.tar.zst freebsd-ports-gnome-81bcec16de4a612151e564a8a36b822109aafaac.zip |
amd64 dislikes -malign-double
Diffstat (limited to 'math')
-rw-r--r-- | math/sdpa/Makefile | 10 |
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 |