patches/ebuilds: podman: Fix cross compiling

Gentoo bugs [902569][0] and [902571][1]

[0]: https://bugs.gentoo.org/show_bug.cgi?id=902569
[1]: https://bugs.gentoo.org/show_bug.cgi?id=902571
This commit is contained in:
2023-03-23 11:12:36 -05:00
parent 1779f5564c
commit 2854380e2d
2 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- a/podman-4.4.1-r1.ebuild 2023-03-23 16:15:10.845405285 -0000
+++ b/podman-4.4.1-r1.ebuild 2023-03-23 16:15:54.433405285 -0000
@@ -60,6 +60,8 @@
has_version -b '>=dev-lang/go-1.13.9' || makefile_sed_args+=(-e 's:GO111MODULE=off:GO111MODULE=on:')
sed "${makefile_sed_args[@]}" -i Makefile || die
+
+ tc-export CC LD
}
src_compile() {