aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorriggs <riggs@FreeBSD.org>2014-09-16 13:59:07 +0800
committerriggs <riggs@FreeBSD.org>2014-09-16 13:59:07 +0800
commitb34fbd0c0880150b68e875ee3d515cd90ce18f89 (patch)
treea090a0515fd58a26c972bba4669ac6ff73def277
parentd2fe354fa64491428de197a6f948ec67213ccd70 (diff)
downloadfreebsd-ports-gnome-b34fbd0c0880150b68e875ee3d515cd90ce18f89.tar.gz
freebsd-ports-gnome-b34fbd0c0880150b68e875ee3d515cd90ce18f89.tar.zst
freebsd-ports-gnome-b34fbd0c0880150b68e875ee3d515cd90ce18f89.zip
- Remove unnecessary ${ARCH} wrappers around OPTIONS_DEFAULT_{i386|amd64}
PR: 161359 Pointed out by: jhale
-rw-r--r--math/gotoblas/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/math/gotoblas/Makefile b/math/gotoblas/Makefile
index 3f7d382ae43f..89b6ef7b75c7 100644
--- a/math/gotoblas/Makefile
+++ b/math/gotoblas/Makefile
@@ -42,6 +42,10 @@ MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE_i386= DYNAMIC_ARCH
OPTIONS_DEFINE_amd64= DYNAMIC_ARCH
OPTIONS_DEFINE= INTERFACE64 OPENMP
+
+OPTIONS_DEFAULT_i386= DYNAMIC_ARCH
+OPTIONS_DEFAULT_amd64= DYNAMIC_ARCH
+
DYNAMIC_ARCH_DESC= Support multiple CPU types on i386 and amd64
INTERFACE64_DESC= Use 8 byte integers on 64-bit architectures
OPENMP_DESC= Use OpenMP for threading
@@ -49,12 +53,6 @@ OPENMP_DESC= Use OpenMP for threading
.include <bsd.port.options.mk>
-.if ${ARCH} == "i386"
-OPTIONS_DEFAULT_i386= DYNAMIC_ARCH
-.elif ${ARCH} == "amd64"
-OPTIONS_DEFAULT_amd64= DYNAMIC_ARCH
-.endif
-
MAXTHREADS?= 8
.if ${ARCH:M*64} == ""