add aarch64 outline-atomics workaround
This commit is contained in:
parent
ac78604d52
commit
919326357b
@ -444,6 +444,12 @@ export GO_LDFLAGS="-extldflags '$RPM_LD_FLAGS'"
|
||||
export CGO_ENABLED=0
|
||||
%endif
|
||||
|
||||
# work around aarch64 issue
|
||||
# https://src.fedoraproject.org/rpms/golang/c/ea99ebaff6b9561243bb43039458771edb691eaf?branch=f32
|
||||
%ifarch aarch64
|
||||
export CGO_CFLAGS="-mno-outline-atomics"
|
||||
%endif
|
||||
|
||||
# make sure to not timeout
|
||||
export GO_TEST_TIMEOUT_SCALE=2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user