Skip to content

Commit bfe0b2b

Browse files
committed
fixup! tmp: hack around Go version, can be dropped once we pull Go 1.21
Signed-off-by: Mathieu Tortuyaux <[email protected]>
1 parent d518867 commit bfe0b2b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sdk_container/src/third_party/portage-stable/app-containers/incus/incus-0.6-r1.ebuild

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,9 @@ src_configure() { :; }
124124

125125
src_compile() {
126126
export GOPATH="${S}/_dist"
127-
export CGO_LDFLAGS_ALLOW="-Wl,-z,now"
127+
export CGO_LDFLAGS_ALLOW="-Wl,-z,now,-L,-rpath-link"
128+
export CGO_CFLAGS="${CGO_CFLAGS} -I${ESYSROOT}/usr/include"
129+
export CGO_LDFLAGS="${CGO_LDFLAGS} -L${ESYSROOT}/usr/lib64 -Wl,-rpath-link,${ESYSROOT}/usr/lib64"
128130

129131
for k in incus-benchmark incus-user incus lxc-to-incus ; do
130132
ego install -v -x "${S}/cmd/${k}"

0 commit comments

Comments
 (0)