Accepting request 430381 from home:jordimassaguerpla:go_use_gccgo_for_factory_opensuse

- Reverting to use gcc-go instead of go1.4 for Factory and Leap
  The fallback boostrap method via go1.4 does not work for Factory because
  of a known bug with binutils 2.27 https://github.com/golang/go/issues/16906.
  Leap will work but we don't have go1.4 in there.

OBS-URL: https://build.opensuse.org/request/show/430381
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=269
This commit is contained in:
Thomas Boerger 2016-09-26 09:03:55 +00:00 committed by Git OBS Bridge
parent 5f9c89a0d5
commit 640fc5b0be
2 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Sep 23 15:25:15 UTC 2016 - jmassaguerpla@suse.com
- Reverting to use gcc-go instead of go1.4 for Factory and Leap
The fallback boostrap method via go1.4 does not work for Factory because
of a known bug with binutils 2.27 https://github.com/golang/go/issues/16906.
Leap will work but we don't have go1.4 in there.
-------------------------------------------------------------------
Wed Sep 21 15:35:51 UTC 2016 - jmassaguerpla@suse.com

13
go.spec
View File

@ -16,6 +16,19 @@
#
# The fallback boostrap method via go1.4 does not work for Factory because
# of a known bug with binutils 2.27 https://github.com/golang/go/issues/16906.
# Leap will work but we don't have go1.4 in there.
%if 0%{?suse_version} > 1320
# openSUSE Factory
%define with_gccgo 1
%else
%if 0%{?suse_version} == 1315 && 0%{?is_opensuse}
# openSUSE Leap
%define with_gccgo 1
%endif
%endif
# The fallback bootstrap method via go1.4 doesn't work
# for aarch64 nor ppc64le because go 1.4 did not support that architecture.
%ifarch aarch64 ppc64le ppc64