summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-containers')
-rw-r--r--app-containers/syft/syft-0.52.0-r1.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/app-containers/syft/syft-0.52.0-r1.ebuild b/app-containers/syft/syft-0.52.0-r1.ebuild
index 82a8e5f1a7d8..78e4ff1e79aa 100644
--- a/app-containers/syft/syft-0.52.0-r1.ebuild
+++ b/app-containers/syft/syft-0.52.0-r1.ebuild
@@ -21,6 +21,7 @@ src_compile() {
local BUILD_DATE
BUILD_DATE=$(date -u +%Y-%m-%dT%H:%M:%SZ)
ego build -o bin/syft -ldflags "
+ -extldflags '-static'
-X github.com/anchore/syft/internal/version.version=${PV}
-X github.com/anchore/syft/internal/version.gitCommit=${GIT_COMMIT}
-X github.com/anchore/syft/internal/version.buildDate=${BUILD_DATE}