aboutsummaryrefslogtreecommitdiffstats
path: root/math/gotoblas/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/gotoblas/Makefile')
-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} == ""