summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-06-25 07:38:26 +0100
committerSam James <sam@gentoo.org>2024-06-25 07:41:06 +0100
commitcbd4158ebd536bc92d1d28878ed12eee1fbea357 (patch)
tree811d8376da20bf681ed4602ffdaacba473f5cd74 /app-containers
parentmedia-gfx/graphicsmagick: Stabilize 1.3.43-r1 x86, #934866 (diff)
downloadgentoo-cbd4158ebd536bc92d1d28878ed12eee1fbea357.tar.gz
gentoo-cbd4158ebd536bc92d1d28878ed12eee1fbea357.tar.bz2
gentoo-cbd4158ebd536bc92d1d28878ed12eee1fbea357.zip
app-containers/runc: don't clobber CGO_*
Note that we don't have to export now either as go-env.eclass does that. Bug: https://bugs.gentoo.org/900933 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-containers')
-rw-r--r--app-containers/runc/runc-1.1.12.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-containers/runc/runc-1.1.12.ebuild b/app-containers/runc/runc-1.1.12.ebuild
index 9a94108c30b6..ed23ef215d7b 100644
--- a/app-containers/runc/runc-1.1.12.ebuild
+++ b/app-containers/runc/runc-1.1.12.ebuild
@@ -42,8 +42,8 @@ S="${WORKDIR}/${PN}-${MY_PV}"
src_compile() {
# Taken from app-containers/docker-1.7.0-r1
- export CGO_CFLAGS="-I${ESYSROOT}/usr/include"
- export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
+ CGO_CFLAGS+=" -I${ESYSROOT}/usr/include"
+ CGO_LDFLAGS+=" $(usex hardened '-fno-PIC ' '')
-L${ESYSROOT}/usr/$(get_libdir)"
# build up optional flags