aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2017-07-31 11:58:27 +0000
committerJason E. Hale <jhale@FreeBSD.org>2017-07-31 11:58:27 +0000
commit22d357186f5dd8b7e3a1e67901980663af1b8adf (patch)
treea8ec722bfcca883bb4422901368fb91c6d146934 /math
parentdc8b215ec15b7c7f5fa55c0c0579fe29362fdf79 (diff)
Notes
Diffstat (limited to 'math')
-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