Workaround tests failures on aarch64

This commit is contained in:
Jakub Čajka 2020-07-02 21:35:44 +02:00
parent ecf8f72447
commit ea99ebaff6
No known key found for this signature in database
GPG Key ID: 48DAAF91F61E4F5D

View File

@ -506,6 +506,10 @@ export GO_LDFLAGS="-linkmode internal"
%if !%{cgo_enabled} || !%{external_linker} %if !%{cgo_enabled} || !%{external_linker}
export CGO_ENABLED=0 export CGO_ENABLED=0
%endif %endif
# workaround for https://github.com/golang/go/issues/39466 until it gests fixed
%ifarch aarch64
export CGO_CFLAG="-mno-outline-atomics"
%endif
# make sure to not timeout # make sure to not timeout
export GO_TEST_TIMEOUT_SCALE=2 export GO_TEST_TIMEOUT_SCALE=2