From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 22440158094 for ; Fri, 29 Jul 2022 16:15:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F9AAE103C; Fri, 29 Jul 2022 16:14:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 26F0CE103C for ; Fri, 29 Jul 2022 16:14:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0F0603410DB for ; Fri, 29 Jul 2022 16:14:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 68BED544 for ; Fri, 29 Jul 2022 16:14:56 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1659111290.284e184f22ceca2d4cf47d3e9e3ce47a94e8a1b9.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-containers/syft/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-containers/syft/syft-0.52.0-r1.ebuild X-VCS-Directories: app-containers/syft/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 284e184f22ceca2d4cf47d3e9e3ce47a94e8a1b9 X-VCS-Branch: master Date: Fri, 29 Jul 2022 16:14:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 533b1263-c431-4ec1-af91-e25d04e044d2 X-Archives-Hash: 230cb1b9cd183125aa719788e106002a commit: 284e184f22ceca2d4cf47d3e9e3ce47a94e8a1b9 Author: William Hubbs gentoo org> AuthorDate: Fri Jul 29 16:14:01 2022 +0000 Commit: William Hubbs gentoo org> CommitDate: Fri Jul 29 16:14:50 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=284e184f app-containers/syft: add -extldflags switch to the linker flags Signed-off-by: William Hubbs gentoo.org> app-containers/syft/syft-0.52.0-r1.ebuild | 1 + 1 file changed, 1 insertion(+) 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}