aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2006-07-09 09:35:28 +0800
committermaho <maho@FreeBSD.org>2006-07-09 09:35:28 +0800
commit950f29df63cd82c10d5136d99544fff3dbf082f5 (patch)
treefe195b2b5ef00139954e54718007fe18e8b9105f /math
parentc962434f1b72aa189a78d186100368f68c1f0975 (diff)
downloadfreebsd-ports-gnome-950f29df63cd82c10d5136d99544fff3dbf082f5.tar.gz
freebsd-ports-gnome-950f29df63cd82c10d5136d99544fff3dbf082f5.tar.zst
freebsd-ports-gnome-950f29df63cd82c10d5136d99544fff3dbf082f5.zip
A better WITH_OPTIMIZED_FLAGS.
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: