mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
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@gentoo.org>
This commit is contained in:
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user