|
|
@ -37,11 +37,7 @@ |
|
|
|
%else |
|
|
|
%else |
|
|
|
%global shared 0 |
|
|
|
%global shared 0 |
|
|
|
%endif |
|
|
|
%endif |
|
|
|
%ifarch x86_64 ppc64le |
|
|
|
|
|
|
|
%global race 1 |
|
|
|
|
|
|
|
%else |
|
|
|
|
|
|
|
%global race 0 |
|
|
|
%global race 0 |
|
|
|
%endif |
|
|
|
|
|
|
|
%global goroot /usr/lib/%{name} |
|
|
|
%global goroot /usr/lib/%{name} |
|
|
|
%ifarch x86_64 |
|
|
|
%ifarch x86_64 |
|
|
|
%global gohostarch amd64 |
|
|
|
%global gohostarch amd64 |
|
|
@ -80,11 +76,6 @@ Source1: powerel.go |
|
|
|
Source100: golang-gdbinit |
|
|
|
Source100: golang-gdbinit |
|
|
|
Source101: golang-prelink.conf |
|
|
|
Source101: golang-prelink.conf |
|
|
|
Patch1: disable-google-proxy-and-sumdb.patch |
|
|
|
Patch1: disable-google-proxy-and-sumdb.patch |
|
|
|
Patch2: 0002-syscall-expose-IfInfomsg.X__ifi_pad-on-s390x.patch |
|
|
|
|
|
|
|
Patch3: 0003-cmd-go-disable-Google-s-proxy-and-sumdb.patch |
|
|
|
|
|
|
|
Patch4: 0004-cmd-link-use-gold-on-ARM-ARM64-only-if-gold-is-avail.patch |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if !%{golang_bootstrap} |
|
|
|
%if !%{golang_bootstrap} |
|
|
|
BuildRequires: gcc-go >= 5 |
|
|
|
BuildRequires: gcc-go >= 5 |
|
|
|
%else |
|
|
|
%else |
|
|
|