From nobody Wed Mar 27 22:22:11 2024 X-Original-To: dev-commits-src-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 4V4h441x4gz5Fb4g; Wed, 27 Mar 2024 22:22:12 +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 4V4h440C9Bz4tv3; Wed, 27 Mar 2024 22:22:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711578132; 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=FlWzVQqhcMLXgZ6zIeyHufgSWoTwKT3jk8ZE5qU+Wj8=; b=dKW+u1Hvwd24T2ufsJmE8sXzao2ptoFuKemGuA2RyQorxg8xlccAwCkcS8rZU05J7DRK+6 9aPcn6vYZd4xGT33dGg2lqBy54cMOB9t2MwIDLHuGSNyianAh479EdcT0FZ2lFvhtln2O6 LdHcpcelXDS6vgmCLGAQTJNbDzAFT60sCrffPy3LSwq7YwN84/jITXmQuxA/XWK0hTCFRB VZlOQXKM+2lr8MqRHAnD0HeTkhRnJ8kF+vOSFglZknp3QLF3Gv/zMvHeNZm/CqBhD9eKfx MrilmCM7xQdjEPg3LK77+pH4gzMYYkSw30fJoJNY9RtO0J8nR+S+ozxeVkVETA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711578132; a=rsa-sha256; cv=none; b=BwvuQfI8CimMhs2g8JRxsQg4sIAsCcC+TrbAFqK4rR5C9bO30F64tgPNFXBZiA0CG2sv6E y/ADFRuf9mqdCx/STZyauk0vFArJHea5mJl/F7A2Q2q/hcQtgSO/M4oVNtrepqMWZPOOwX KbQRZwrbru36VKJnrODeR/xU7UgDN6uSRzCeNwpNJbIbI8kTwnpPDwzrOvglGO+gWPUgN3 BxzQ9cMYOS8aIMDzOk6sxq7NW7yoWb0GteGrBS5NGIK+0eqHyBkyjc/4CCBVeIgbsMaUFQ AkXOGdkyu/NOzunUht2cbHGECulqpNxx/DUK65phUiQAZwDO5tjI8gBE3jGzPw== 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=1711578132; 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=FlWzVQqhcMLXgZ6zIeyHufgSWoTwKT3jk8ZE5qU+Wj8=; b=amAAeEt3B8ob+kEUk2lDBWCha29iZZV6cJGiEkzPoNb0CPyigGcAdRaCgfatkb9P9Nl74k rxhIHD53Pnc2KsgCRyYhD9eVRzuxcMl9x8tG9h+Up0v7Yl0jhVt61NvuPa5y+uyJCh2g9l ADSAc49cVoyDgkb6z5053HRa4CjL7qcuBd9UHCRkvK7zDmQDcdVbscY73Uf7RX127GUrBJ pYWqnNMP5ZVIj5lGV0ih1mKHLlJGDYmo8jNpw/g68P+GcirMjujP3fGFazJ1bn1RgViCmj MH6UAkYOIa0TKuoo+43F7y2RLyXbYLGDJRlopq2yv9VheKc4OKHlBWTkOo9ElA== 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 4V4h436xQvz12FX; Wed, 27 Mar 2024 22:22:11 +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 42RMMBYg020748; Wed, 27 Mar 2024 22:22:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42RMMBDN020745; Wed, 27 Mar 2024 22:22:11 GMT (envelope-from git) Date: Wed, 27 Mar 2024 22:22:11 GMT Message-Id: <202403272222.42RMMBDN020745@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Stephen J. Kiernan" Subject: git: a6d8dcb0d981 - main - csh: Use HOST_CC when compiling hostprog used by csh build List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: stevek X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a6d8dcb0d981e2f271af6d71268e0abaad1a0823 Auto-Submitted: auto-generated The branch main has been updated by stevek: URL: https://cgit.FreeBSD.org/src/commit/?id=a6d8dcb0d981e2f271af6d71268e0abaad1a0823 commit a6d8dcb0d981e2f271af6d71268e0abaad1a0823 Author: Stephen J. Kiernan AuthorDate: 2024-03-27 21:31:40 +0000 Commit: Stephen J. Kiernan CommitDate: 2024-03-27 22:21:50 +0000 csh: Use HOST_CC when compiling hostprog used by csh build The "gethost" program should be built with the host compiler. Obtained from: Juniper Networks, Inc. Reviewed by: sjg Differential Revision: https://reviews.freebsd.org/D44537 --- bin/csh/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/csh/Makefile b/bin/csh/Makefile index b482e32024ad..d9f40f180343 100644 --- a/bin/csh/Makefile +++ b/bin/csh/Makefile @@ -123,7 +123,7 @@ tc.defs.c: gethost DEPENDOBJS+= gethost gethost: gethost.c sh.err.h tc.const.h sh.h ${BUILD_TOOLS_META} @rm -f ${.TARGET} - ${CC:N${CCACHE_BIN}} -o gethost ${LDFLAGS} ${CFLAGS:C/-DHAVE_ICONV//} \ + ${HOST_CC:N${CCACHE_BIN}} -o gethost ${LDFLAGS} ${CFLAGS:C/-DHAVE_ICONV//} \ ${TCSHDIR}/gethost.c .endif