aboutsummaryrefslogtreecommitdiff
path: root/math/atlas-devel
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-devel
parent3fdb928ef07929389e5f2ec49a037a0a01fb946c (diff)
downloadports-9a93aff2dadaea4d0d1c34cdecf0849f4bd9a280.tar.gz
ports-9a93aff2dadaea4d0d1c34cdecf0849f4bd9a280.zip
Notes
Diffstat (limited to 'math/atlas-devel')
-rw-r--r--math/atlas-devel/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/math/atlas-devel/Makefile b/math/atlas-devel/Makefile
index ac69c0ad1e53..8f584c50fbdc 100644
--- a/math/atlas-devel/Makefile
+++ b/math/atlas-devel/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: