add bcond for bootstraping

This commit is contained in:
Jakub Čajka 2017-10-12 15:52:28 +02:00
parent 387b897724
commit 920ea39083
1 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,4 @@
%bcond_with bootstrap
# build ids are not currently generated:
# https://code.google.com/p/go/issues/detail?id=5238
#
@ -41,10 +42,10 @@
%endif
# Use golang/gcc-go as bootstrap compiler
%ifarch %{golang_arches}
%global golang_bootstrap 1
%else
%if %{with bootstrap}
%global golang_bootstrap 0
%else
%global golang_bootstrap 1
%endif
# Controls what ever we fail on failed tests