From 9297305de11b8633fb9e3e07e7d3a705ba2bc1aa Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Tue, 25 Aug 2015 13:50:08 -0400 Subject: [PATCH] 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. --- golang.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/golang.spec b/golang.spec index a39f62f..7b18172 100644 --- a/golang.spec +++ b/golang.spec @@ -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