From nobody Thu Oct 19 07:08:18 2023 X-Original-To: dev-commits-ports-main@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 4S9zMQ6GkTz4y4RJ; Thu, 19 Oct 2023 07:08:18 +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 4S9zMQ5pW3z3Dl5; Thu, 19 Oct 2023 07:08:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697699298; 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=OpJNUGrr07KOa0dBYTKSRlQ3YBSNAPn9z+mh3/N9YGY=; b=HHNaat3ImgeVOTbEn+V+b9+JTIZK9w26VZFfK8wEmnot5PeJpdHPrCb4X052JitySdEzxW ob0Wx1k1A7aGYzhuAD8YQPx/cPrjVSYrStN9czGgkx1ohZh9Xf1MRXoQRXp1w77bLt9gWw z53QOIhNjZu5++4+1LK/EZRrLdOYtKbgp5bMwbVsUr8nSnD6Ll8dXoDXHNr/7ToruNJFRK wjk+fxRmIVjARqTmza8X1qQuWoKD8hSvwg8au1rBNBAxb7pmNdcS95I176JLRbw3/EB9iX fqEMDZcnTa0IjohdfnIKnb2DtV5Wl81wsLKoin9OSyvgI0F99Cqyuw/XEaZQrw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697699298; a=rsa-sha256; cv=none; b=nUtv0YbJdQctjH2XFFx6tKRAMtzfv+tEddlUONIuzcB9LkBDKTTKgmSbXJ+VGz5aolOMNP cfQlTGMrcT5RkblRDJDnwhIFjiTw9vIf4Ecwq7PFq/pLcwo8F+xFdk727MMi4jLLboYSq2 YZ+Cx5cHigBaSsX04juAhRPwuUwG79bQwUuBnilJsxttJazYeQ+WYQY5H1W+OuXbw505/l IjB8WLk5gc27FaVjinRQ7J+SfFCHHschg/1AcMnBhAIX5GBl3MZZYImOQd0d5s6uPiT+5t ON6PR92ZNhjDOhThruLYelK0ZnculqsrXxkIa34bCVsG8mQ1nCMpwHq/VNgQ0g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697699298; 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=OpJNUGrr07KOa0dBYTKSRlQ3YBSNAPn9z+mh3/N9YGY=; b=OQ6NvN7OHIFPAX57FSmP8wUgGJhlEjj0C+08ZwC5aHf7zLMAxiXwFBiQUjxJcUQtR3qgFc Cl9QnnwViYByJRySTJ6o/Tbgf4RZPofJXaeTWM1FX5JPtxUu4L2U6jOG2R1EatJ/C/zVcc BfYAwtEcKTQbKlNpJaIUzhMiofoJpdFX7GesCh12CVnVxFiiYFpo7mZuqexL8hSpTfeQmf Wt9Lv1uNrOb4mhX28su+uHVNhBy/yVRYsr6KsZNyrhs0se4yndoohIpsaAlZUPugV/6GOa erjY6uoRF7FdXe575YL3HUBlt7U0uw298/iPygFIxKwNFrIO/1UNA/Q0C/u7uA== 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 4S9zMQ4tXtzg0w; Thu, 19 Oct 2023 07:08:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39J78IuP045419; Thu, 19 Oct 2023 07:08:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39J78Iiv045416; Thu, 19 Oct 2023 07:08:18 GMT (envelope-from git) Date: Thu, 19 Oct 2023 07:08:18 GMT Message-Id: <202310190708.39J78Iiv045416@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 5b5f129463d4 - main - Mk/Uses/ada.mk: Don't set CC to gnatmake but to gcc List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5b5f129463d4d119478e0ff5ca613b7d29edfe53 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=5b5f129463d4d119478e0ff5ca613b7d29edfe53 commit 5b5f129463d4d119478e0ff5ca613b7d29edfe53 Author: Nico Sonack AuthorDate: 2023-10-01 17:01:26 +0000 Commit: Robert Clausecker CommitDate: 2023-10-19 07:07:28 +0000 Mk/Uses/ada.mk: Don't set CC to gnatmake but to gcc Setting CC to gnatmake breaks compiling simple C objects. Instead set it to the correct compiler frontend and set GNATMAKE to gnatmake. Signed-off-by: Nico Sonack PR: 274238 --- Mk/Uses/ada.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mk/Uses/ada.mk b/Mk/Uses/ada.mk index f380112428dd..f9d239d75116 100644 --- a/Mk/Uses/ada.mk +++ b/Mk/Uses/ada.mk @@ -40,7 +40,8 @@ CC= ada _ADAPATH= ${LOCALBASE}/gnat${_ada_version}/bin _ADAPORT= lang/gnat${_ada_version} _BINDEP= ${_ADAPATH}/gnat -CC= gnatmake -f -u +GNATMAKE= gnatmake -f -u +CC= gcc BINARY_ALIAS+= ada=${_ADAPATH}/gcc . endif