summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/fftw3/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/math/fftw3/Makefile b/math/fftw3/Makefile
index 824f3ff2b0a7..82829c8f410d 100644
--- a/math/fftw3/Makefile
+++ b/math/fftw3/Makefile
@@ -124,6 +124,9 @@ CFLAGS+= -fomit-frame-pointer
. if ${ARCH} == "i386" && (${COMPILER_TYPE} == "gcc" || !empty(USE_GCC)) && !${PORT_OPTIONS:MOPENMPI}
CFLAGS+= -malign-double
. endif
+. if ${ARCH} == "armv6" && ${OPSYS} == FreeBSD && ${OSVERSION} < 1200032
+CFLAGS+= -fno-unsafe-math-optimizations
+. endif
WITHOUT_NO_STRICT_ALIASING= yes
.endif # end OPTIMIZED_CFLAGS