aboutsummaryrefslogtreecommitdiff
path: root/science/dft++
diff options
context:
space:
mode:
Diffstat (limited to 'science/dft++')
-rw-r--r--science/dft++/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/science/dft++/Makefile b/science/dft++/Makefile
index 547fc92ceca1..145136a5eae8 100644
--- a/science/dft++/Makefile
+++ b/science/dft++/Makefile
@@ -31,7 +31,7 @@ FFTW= -lfftw
.if defined(WITH_OPTIMIZED_FLAGS)
OPTIMIZED_FLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double
-.if (${MACHINE_ARCH} == "i386")
+.if (${ARCH} == "i386")
OPTIMIZED_FLAGS+= -mcpu=i686 -march=i686 -mfancy-math-387 -mpreferred-stack-boundary=3
.endif # i386
.endif