aboutsummaryrefslogtreecommitdiff
path: root/math/atlas
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2006-08-07 01:40:52 +0000
committerMaho Nakata <maho@FreeBSD.org>2006-08-07 01:40:52 +0000
commit9a93aff2dadaea4d0d1c34cdecf0849f4bd9a280 (patch)
tree61aa342c8958dbc4f6f35d29ff8602334d69a123 /math/atlas
parent3fdb928ef07929389e5f2ec49a037a0a01fb946c (diff)
downloadports-9a93aff2dadaea4d0d1c34cdecf0849f4bd9a280.tar.gz
ports-9a93aff2dadaea4d0d1c34cdecf0849f4bd9a280.zip
Notes
Diffstat (limited to 'math/atlas')
-rw-r--r--math/atlas/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/math/atlas/Makefile b/math/atlas/Makefile
index c63854e4b599..5625f37aea05 100644
--- a/math/atlas/Makefile
+++ b/math/atlas/Makefile
@@ -35,7 +35,11 @@ USE_GCC=3.4
# only affects for lapack sub project
.if defined(WITH_OPTIMIZED_FLAGS)
+.if defined(CPUTYPE)
FFLAGS+= -mtune=${CPUTYPE} -pipe -O2 -ffast-math -fomit-frame-pointer
+.else
+FFLAGS+= -pipe -O2 -ffast-math -fomit-frame-pointer
+.endif
.endif
post-patch: