aboutsummaryrefslogtreecommitdiff
path: root/lang/go14/Makefile
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2017-10-10 21:31:30 +0000
committerMark Linimon <linimon@FreeBSD.org>2017-10-10 21:31:30 +0000
commit3ef3461740738a4408c83087846d4b59d726eaa6 (patch)
treef3d89a0399e1e0896808a5ab7c804ecd549e47db /lang/go14/Makefile
parent615a3fc1bbb5a8d6dd9a7a24d8d19046049875ee (diff)
For ports that are explicitly enabled on armv6, also enable them
on armv7. This has not been tested with an -exp run but should "do no harm". PR: 221894 (partial)
Notes
Notes: svn path=/head/; revision=451721
Diffstat (limited to 'lang/go14/Makefile')
-rw-r--r--lang/go14/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/go14/Makefile b/lang/go14/Makefile
index ed977a704d7b..efc500184a62 100644
--- a/lang/go14/Makefile
+++ b/lang/go14/Makefile
@@ -29,7 +29,7 @@ sh_CMD= ${SH}
WRKSRC= ${WRKDIR}/go
-ONLY_FOR_ARCHS= amd64 armv6 i386
+ONLY_FOR_ARCHS= amd64 armv6 armv7 i386
.include <bsd.port.pre.mk>
@@ -38,13 +38,13 @@ ONLY_FOR_ARCHS= amd64 armv6 i386
CC=clang
.endif
-.if ${ARCH} == "i386"
+.if ${ARCH} == i386
GOARCH=386
GOOBJ=8
-.elif ${ARCH} == "amd64"
+.elif ${ARCH} == amd64
GOARCH=amd64
GOOBJ=6
-.elif ${ARCH} == "armv6"
+.elif ${ARCH} == armv6 || ${ARCH} == armv7
GOARCH=arm
GOOBJ=5
.else