commit:     aec992f2d223aea2fbe4142384d8d10a4a024d62
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 27 20:04:01 2020 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Nov 27 20:06:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aec992f2

app-emulation/snapd: don't set CGO_LDFLAGS

Solves errors like this with go-1.15:

go build runtime/cgo: invalid flag in go:cgo_ldflag: -Wl,-O1

Closes: https://bugs.gentoo.org/756205
Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-emulation/snapd/snapd-2.47.1-r1.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/app-emulation/snapd/snapd-2.47.1-r1.ebuild 
b/app-emulation/snapd/snapd-2.47.1-r1.ebuild
index b9ba0a35470..863784f7b24 100644
--- a/app-emulation/snapd/snapd-2.47.1-r1.ebuild
+++ b/app-emulation/snapd/snapd-2.47.1-r1.ebuild
@@ -101,7 +101,6 @@ src_configure() {
        export CGO_CFLAGS="${CFLAGS}"
        export CGO_CPPFLAGS="${CPPFLAGS}"
        export CGO_CXXFLAGS="${CXXFLAGS}"
-       export CGO_LDFLAGS="${LDFLAGS}"
 
        pushd "${MY_S}/cmd" >/dev/null || die
        econf --libdir="${EPREFIX}/usr/lib" \

Reply via email to