From owner-dev-commits-ports-all@freebsd.org Thu May 20 16:01:51 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A141A642A1F; Thu, 20 May 2021 16:01:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FmDy73ssDz4vNW; Thu, 20 May 2021 16:01:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5F76D28DFA; Thu, 20 May 2021 16:01:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14KG1pWN087336; Thu, 20 May 2021 16:01:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14KG1pv6087335; Thu, 20 May 2021 16:01:51 GMT (envelope-from git) Date: Thu, 20 May 2021 16:01:51 GMT Message-Id: <202105201601.14KG1pv6087335@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitri Goutnik Subject: git: 475a23ad78aa - main - Mk/Uses/go.mk: Add -trimpath to GO_BUILDFLAGS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dmgk X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 475a23ad78aa18be05071e841fc82894711c085c Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2021 16:01:51 -0000 The branch main has been updated by dmgk: URL: https://cgit.FreeBSD.org/ports/commit/?id=475a23ad78aa18be05071e841fc82894711c085c commit 475a23ad78aa18be05071e841fc82894711c085c Author: Serhii (Sergey) Kozlov AuthorDate: 2021-05-20 15:59:27 +0000 Commit: Dmitri Goutnik CommitDate: 2021-05-20 16:00:52 +0000 Mk/Uses/go.mk: Add -trimpath to GO_BUILDFLAGS Differential Revision: https://reviews.freebsd.org/D30321 --- Mk/Uses/go.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mk/Uses/go.mk b/Mk/Uses/go.mk index 9b1e5454bbf5..60d1c6f15b5d 100644 --- a/Mk/Uses/go.mk +++ b/Mk/Uses/go.mk @@ -82,7 +82,7 @@ GO_PKGNAME= ${PORTNAME} GO_TARGET?= ${GO_PKGNAME} GO_TESTTARGET?= ./... -GO_BUILDFLAGS+= -v -buildmode=exe +GO_BUILDFLAGS+= -v -buildmode=exe -trimpath .if !defined(WITH_DEBUG) && empty(GO_BUILDFLAGS:M-ldflags*) GO_BUILDFLAGS+= -ldflags=-s .endif