summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-containers/buildah/buildah_git.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-containers/buildah/buildah_git.bb b/recipes-containers/buildah/buildah_git.bb
index e29e72ff..0819bfe9 100644
--- a/recipes-containers/buildah/buildah_git.bb
+++ b/recipes-containers/buildah/buildah_git.bb
@@ -45,11 +45,15 @@ do_compile:prepend() {
45 45
46go_do_compile() { 46go_do_compile() {
47 export TMPDIR="${GOTMPDIR}" 47 export TMPDIR="${GOTMPDIR}"
48 export AS='${CC} -c'
48 if [ -n "${GO_INSTALL}" ]; then 49 if [ -n "${GO_INSTALL}" ]; then
49 ${GO} install ${GOBUILDFLAGS} ./cmd/buildah 50 ${GO} install ${GOBUILDFLAGS} ./cmd/buildah
50 ${GO} install ${GOBUILDFLAGS} ./tests/imgtype/imgtype.go 51 ${GO} install ${GOBUILDFLAGS} ./tests/imgtype/imgtype.go
51 ${GO} install ${GOBUILDFLAGS} ./tests/copy/copy.go 52 ${GO} install ${GOBUILDFLAGS} ./tests/copy/copy.go
52 fi 53 fi
54
55 # x86 statically linked executable that we don't need
56 rm -f ${S}/src/github.com/containers/buildah/internal/mkcw/embed/entrypoint
53} 57}
54 58
55do_install:append() { 59do_install:append() {