diff --git a/Programming/go/build b/Programming/go/build index c596a09..e978d8d 100755 --- a/Programming/go/build +++ b/Programming/go/build @@ -8,10 +8,14 @@ pbuild::install_docfiles 'CONTRIBUTING.md' 'LICENSE' 'PATENTS' 'README.md' 'SEC pbuild::compile_in_sourcetree pbuild::compile() { + export GOROOT_FINAL=${PREFIX} + export GOMAXPROCS=8 cd src ./all.bash + cd .. } pbuild::install() { - : + rsync -av --exclude "pkg/obj/*" . "${PREFIX}" } +