[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Golang programs keeping references [gnu: go: Update default to 1.11.
From: |
Pierre Neidhardt |
Subject: |
Re: Golang programs keeping references [gnu: go: Update default to 1.11.] |
Date: |
Mon, 12 Nov 2018 18:38:53 +0100 |
User-agent: |
mu4e 1.0; emacs 26.1 |
Yes, it should be statically linked. Isn't it the same issue as we recently had
with go-1.11 itself?
The fix was
--8<---------------cut here---------------start------------->8---
;; Prevent installation of the build cache, which contains store
;; references to most of the tools used to build Go and would
;; unnecessarily increase the size of Go's closure if it was
;; installed.
;; TODO This should be moved into the 'install' phase when Go 1.9 is
;; removed.
(add-before 'install 'delete-extraneous-files
(lambda _
(delete-file-recursively "../pkg/obj")
#t))
--8<---------------cut here---------------end--------------->8---
We should try that.
--
Pierre Neidhardt
https://ambrevar.xyz/
signature.asc
Description: PGP signature