aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2006-08-07 09:40:52 +0800
committermaho <maho@FreeBSD.org>2006-08-07 09:40:52 +0800
commitb8e5abf06a35c36816f04fad01fa4044a0fbc91e (patch)
treeae61bc907c9e06176e81f8a25eaba39347b8b722
parent277ee9377c4414477eac83f70aa1f872c889eb1e (diff)
downloadfreebsd-ports-gnome-b8e5abf06a35c36816f04fad01fa4044a0fbc91e.tar.gz
freebsd-ports-gnome-b8e5abf06a35c36816f04fad01fa4044a0fbc91e.tar.zst
freebsd-ports-gnome-b8e5abf06a35c36816f04fad01fa4044a0fbc91e.zip
Fix error when WITH_OPTIMIZED_FLAGS is specified.
PR: 100991 Submitted by: Masayuki Takemura <ICG04984@nifty.com>
-rw-r--r--math/atlas-devel/Makefile4
-rw-r--r--math/atlas/Makefile4
2 files changed, 8 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:
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:
ions'>+1 * Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.rafan2008-08-211-1/+0 * Conversion from (now defunct) autoconf-2.61 to autoconf-2.62ade2008-08-201-1/+1 * - Update to 2008-07-25miwi2008-08-061-1/+1 * - Update to 2007-12-18miwi2007-12-311-2/+1 * Update to 2007-07-26 releasearved2007-07-311-1/+1 * - Update to 2007.03.12miwi2007-03-171-3/+2 * - Update to 2007-02-19miwi2007-03-011-4/+9 * - Update to 2007-01-21miwi2007-01-261-1/+1 * - Update to 2006-12-28miwi2007-01-061-1/+1 * - Update to 2006-12-13miwi2006-12-161-1/+1 * - Update to 2006-11-10 releaserafan2006-11-161-1/+2 * Update to 2006-10-30garga2006-11-121-4/+4