From 81bcec16de4a612151e564a8a36b822109aafaac Mon Sep 17 00:00:00 2001 From: maho Date: Wed, 18 Aug 2004 11:20:11 +0000 Subject: amd64 dislikes -malign-double --- math/sdpa/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'math') 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 -- cgit