Skip to content

Commit

Permalink
fixup! tmp: hack around Go version, can be dropped once we pull Go 1.21
Browse files Browse the repository at this point in the history
Signed-off-by: Mathieu Tortuyaux <[email protected]>
  • Loading branch information
tormath1 committed Mar 13, 2024
1 parent d518867 commit bfe0b2b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ src_configure() { :; }

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

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

0 comments on commit bfe0b2b

Please sign in to comment.