Build lang/go14 without SSE2

This allows to build lang/go14 on old x86 CPUs without SSE2 instructions.
This has an impact on generated machine code performance, but lang/go14
is only useful to boostrap lang/go so it is ok to do so unconditionally.

PR:		230733
Submitted by:	Dmitri Goutnik <dg@syrec.org>
This commit is contained in:
Julien Laffaye 2018-08-19 13:25:05 +00:00
parent db7431c2fc
commit ef63ba236c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=477571

View File

@ -2,7 +2,7 @@
PORTNAME= go14
PORTVERSION= 1.4.3
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= lang
MASTER_SITES= http://golang.org/dl/
DISTNAME= go${PORTVERSION}.src
@ -62,6 +62,7 @@ do-build:
CC=${CC} \
GOROOT=${WRKSRC} GOROOT_FINAL=${PREFIX}/go14 \
GOBIN= GOARCH=${GOARCH} GOOS=${OPSYS:tl} \
GO386=387 \
CGO_ENABLED=0 \
${SH} make.bash