add bcond for bootstraping
This commit is contained in:
parent
387b897724
commit
920ea39083
@ -1,3 +1,4 @@
|
|||||||
|
%bcond_with bootstrap
|
||||||
# build ids are not currently generated:
|
# build ids are not currently generated:
|
||||||
# https://code.google.com/p/go/issues/detail?id=5238
|
# https://code.google.com/p/go/issues/detail?id=5238
|
||||||
#
|
#
|
||||||
@ -41,10 +42,10 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Use golang/gcc-go as bootstrap compiler
|
# Use golang/gcc-go as bootstrap compiler
|
||||||
%ifarch %{golang_arches}
|
%if %{with bootstrap}
|
||||||
%global golang_bootstrap 1
|
|
||||||
%else
|
|
||||||
%global golang_bootstrap 0
|
%global golang_bootstrap 0
|
||||||
|
%else
|
||||||
|
%global golang_bootstrap 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Controls what ever we fail on failed tests
|
# Controls what ever we fail on failed tests
|
||||||
|
Loading…
Reference in New Issue
Block a user