diff options
-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 |