go1.5 supports shared objects

Now we'll provide the libstd.so for all of golang's stdlib. This way,
libraries and binaries can link against it and have a better security
update story.
This commit is contained in:
Vincent Batts 2015-08-25 13:50:08 -04:00
parent b869aad629
commit 9297305de1
1 changed files with 3 additions and 0 deletions

View File

@ -231,6 +231,9 @@ GOARCH=%{gohostarch} \
./make.bash --no-clean
popd
# golang shared objects for stdlib
GOROOT=$(pwd) PATH=$(pwd)/bin:$PATH go install -buildmode=shared std
%install
rm -rf $RPM_BUILD_ROOT