summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2006-07-09 01:35:28 +0000
committerMaho Nakata <maho@FreeBSD.org>2006-07-09 01:35:28 +0000
commit21c6b5f817e11e517d135263e91658406751c617 (patch)
tree49915f4bae785bd38ff3878d89bd75bac500a944 /math
parent- Add instruction for using sdcv (diff)
A better WITH_OPTIMIZED_FLAGS.
Notes
Notes: svn path=/head/; revision=167242
Diffstat (limited to 'math')
-rw-r--r--math/atlas-devel/Makefile2
-rw-r--r--math/atlas/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/math/atlas-devel/Makefile b/math/atlas-devel/Makefile
index 2e306f1eae70..ac69c0ad1e53 100644
--- a/math/atlas-devel/Makefile
+++ b/math/atlas-devel/Makefile
@@ -35,7 +35,7 @@ USE_GCC=3.4
# only affects for lapack sub project
.if defined(WITH_OPTIMIZED_FLAGS)
-FFLAGS+=-pipe -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time
+FFLAGS+= -mtune=${CPUTYPE} -pipe -O2 -ffast-math -fomit-frame-pointer
.endif
post-patch:
diff --git a/math/atlas/Makefile b/math/atlas/Makefile
index a1e9cb0c67aa..c63854e4b599 100644
--- a/math/atlas/Makefile
+++ b/math/atlas/Makefile
@@ -35,7 +35,7 @@ USE_GCC=3.4
# only affects for lapack sub project
.if defined(WITH_OPTIMIZED_FLAGS)
-FFLAGS+=-pipe -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time
+FFLAGS+= -mtune=${CPUTYPE} -pipe -O2 -ffast-math -fomit-frame-pointer
.endif
post-patch: