Fix qemu stuck issue with "Unsupported syscall: 439"
Change-Id: I9a2ed5bdf4d30fe4c218f8a6f18bd92a66ea35ea
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
touch $RPM_BUILD_ROOT%{goroot}/pkg
find $RPM_BUILD_ROOT%{goroot}/pkg -exec touch -r $RPM_BUILD_ROOT%{goroot}/pkg "{}" \;
+%{?!asan:
export GOROOT=$RPM_BUILD_ROOT%{goroot}
GODEBUG=installgoroot=all $GOROOT/bin/go install std
+}
# generate the spec file ownership of this source tree and packages
cwd=$(pwd)