From nobody Wed Oct 26 12:26:10 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4My7MQ2rw9z4fygQ; Wed, 26 Oct 2022 12:26:10 +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 4My7MQ2P7Lz42wP; Wed, 26 Oct 2022 12:26:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666787170; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=esUFcsPqz2/BH62cX6jQFDIXVs2DB2SQUEmAgaGBl0Y=; b=kmfYond8ghFD3knwfdZzZYhCBj9wZ0cLFB1TrasTbhb/4ycrxYFVJ9StSW4OkqwEbhQhFL apWk0brFtsFJR4MuEJFe04HT+dE3lfl3HQTno9i6vrAqxfGklJslC4gMXPZi0XMBowboh3 5Opg6KkBE0c+g9QO6fhwsfCq/nwceCCPgOt/pOnH9FW/MqETZsgS070dj5LS3dmK06Y+jC C/yh5oXtfhBw/U+oZgz9LkP9gsqIcZ1c4c0BG7eynWvgWJP4MElJoFpQM/d/2oRvuRaCt8 lx50YUfywxPfnr7WbXTyC/duI7Re+LdxXbtnHcZ+QKyeTBEpzFanflHzOIJTow== 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 4My7MQ1JKYzHfB; Wed, 26 Oct 2022 12:26:10 +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 29QCQAjE016524; Wed, 26 Oct 2022 12:26:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29QCQA7c016523; Wed, 26 Oct 2022 12:26:10 GMT (envelope-from git) Date: Wed, 26 Oct 2022 12:26:10 GMT Message-Id: <202210261226.29QCQA7c016523@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Baptiste Daroussin Subject: git: c8406c388408 - main - go.mk: make sure elf generated by go respects the PIE feature List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bapt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c8406c3884081be59edaca457e2533464b157175 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666787170; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=esUFcsPqz2/BH62cX6jQFDIXVs2DB2SQUEmAgaGBl0Y=; b=AB87mFUPeV18u2vQyuD0Gu1F7UsrlAG5RXptOVCWq8tfbJOyXMtGVDHUVYd49MktgMOv+m rBEOmN9bwL4WcQ+kfsfWR82bj+thUGF00diE01x5ddQz6Js+N7hMaPohztmvbFKGPgtqEZ qdIJPXE0jACcGnix7GdI3CcAE3hGvSF8N1+sZm70HUZvoovJkKCHkHyO05HYYhJidLdxG/ ylzkD3uTSuL5Na9g6BtwBHEB/mDL8VPCLKvjAmTKibJ8+92lpWNhNCBTsb1mNwo+LMiE/9 qxauLKRt/I1ZL0P22e58Iog6PRIT5cVt06kXccGBR8P25VeudGZ+3o0kRUkduA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666787170; a=rsa-sha256; cv=none; b=XN2Ug+ZmqmE7GsBMm3M006TDroLXWbdP18AP0UXZe/3ww5yv38nCr4bcCeR5YywQ3rAn9r sX4NbRfvaky5Yxzd5LVlkIxnjqdGpstTk4mW67S3x4BHeVyEAqznP5Jbkj+b0PuHxU+O2r DNKupMQH3Vh9Aj9SrCxSGbvoJgAnyMApSn1exW4lbKaqQJXZYn0rGw+ZUC1wwIEogvcwcH Z9rVtfaUCHKmWj2R8fzA1FQ6PMvAQF/q5V5EYAVI9kT4THl/Ljsw8l6qC3M0QKU20zwatq p4pnPqN9MpxSN65el+fuyvmqbaOX5vVBHcKeH9zgp6zVDR5o976FgcXM0N6flQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=c8406c3884081be59edaca457e2533464b157175 commit c8406c3884081be59edaca457e2533464b157175 Author: Baptiste Daroussin AuthorDate: 2022-10-26 12:25:25 +0000 Commit: Baptiste Daroussin CommitDate: 2022-10-26 12:26:08 +0000 go.mk: make sure elf generated by go respects the PIE feature Reported by: dmgk --- 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 d75c4c2f0fe1..9b075ccf91cd 100644 --- a/Mk/Uses/go.mk +++ b/Mk/Uses/go.mk @@ -90,7 +90,7 @@ GO_PKGNAME= ${PORTNAME} GO_TARGET?= ${GO_PKGNAME} GO_TESTTARGET?= ./... -.if !defined(PIE_UNSAFE) +.if !defined(PIE_UNSAFE) && defined(WITH_PIE) GO_BUILDFLAGS+= -buildmode=pie .else GO_BUILDFLAGS+= -buildmode=exe