projects
/
platform
/
upstream
/
golang.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
657d266
)
Add precompiled .a files
91/307991/1
accepted/tizen_base_toolchain
accepted/tizen_base_x_asan
accepted/tizen/base/20240319.005817
accepted/tizen/base/toolchain/20240424.234653
accepted/tizen/base/x/20240319.021734
accepted/tizen/base/x/asan/20240412.003044
author
DongHun Kwak
<dh0128.kwak@samsung.com>
Fri, 15 Mar 2024 05:35:27 +0000
(14:35 +0900)
committer
DongHun Kwak
<dh0128.kwak@samsung.com>
Fri, 15 Mar 2024 05:35:27 +0000
(14:35 +0900)
Change-Id: I7620d9459e04578e619825b995fc25baa7e72861
packaging/golang.spec
patch
|
blob
|
history
diff --git
a/packaging/golang.spec
b/packaging/golang.spec
index
978dc27
..
65a8c3b
100644
(file)
--- a/
packaging/golang.spec
+++ b/
packaging/golang.spec
@@
-270,6
+270,10
@@
find $RPM_BUILD_ROOT%{goroot}/src -exec touch -r $RPM_BUILD_ROOT%{goroot}/VERSIO
# and level out all the built archives
touch $RPM_BUILD_ROOT%{goroot}/pkg
find $RPM_BUILD_ROOT%{goroot}/pkg -exec touch -r $RPM_BUILD_ROOT%{goroot}/pkg "{}" \;
+
+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)
src_list=$cwd/go-src.list