Set conditional ISA for bootstrap
Related: RHEL-175607
This commit is contained in:
parent
c8090b9b81
commit
2ce5436313
@ -356,7 +356,7 @@ export GOROOT_FINAL=%{goroot}
|
||||
|
||||
export GOHOSTOS=linux
|
||||
export GOHOSTARCH=%{gohostarch}
|
||||
export GOAMD64=v2
|
||||
export GOAMD64=%{goamd64}
|
||||
|
||||
pushd src
|
||||
# use our gcc options for this build, but store gcc as default for compiler
|
||||
@ -366,7 +366,7 @@ export CC="gcc"
|
||||
export CC_FOR_TARGET="gcc"
|
||||
export GOOS=linux
|
||||
export GOARCH=%{gohostarch}
|
||||
export GOAMD64=v2
|
||||
export GOAMD64=%{goamd64}
|
||||
|
||||
DEFAULT_GO_LD_FLAGS=""
|
||||
%if !%{external_linker}
|
||||
@ -513,7 +513,7 @@ go env
|
||||
export CC="gcc"
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
export LDFLAGS="$RPM_LD_FLAGS"
|
||||
export GOAMD64=v2
|
||||
export GOAMD64=%{goamd64}
|
||||
%if !%{external_linker}
|
||||
export GO_LDFLAGS="-linkmode internal"
|
||||
%else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user