From nobody Fri Sep 29 13:27:04 2023 X-Original-To: dev-commits-src-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 4Rxrjh6xn8z4tvM2; Fri, 29 Sep 2023 13:27:04 +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 4Rxrjh6Ctkz3Zh2; Fri, 29 Sep 2023 13:27:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695994024; 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=kmDiVACZ2QvK9RdbdWYRfVxV9pfocQkic1tmh+8T4h8=; b=si3PW9G6sLKvDVdGofPFqwLzN/K9PQoX59DA96czPBuETsGYWAdOTSKXqeXP6UZSv+uNPC Bndb4aZKVrQ+VKWpJ27BHe/vdtUFCKlnpVBcIiB9gohucwRTu6ohVdbFKGe0NwIDYzSDHn E4+ceIIYfO11hXguwNrHWZzf9a9P/4bDih1JnE6uMvhj+ELcc1dtQ53/8CxTvt1WRO5RmK u6ayi4HN4tgBP11/pF8pVEEH070g5wWezPcR8zMJCZmILWfusa9gOytPUw2Eovt6MsqGhe Ywx5xp07MbIZHkxbb8cLWtFWjytToZRALJhA0SWHHkzChS2f/jfconLJN0RXIw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695994024; a=rsa-sha256; cv=none; b=JE4J4tAKpjEOzYRZttHRCW7WhKsIx0RCMUvinSdhDFp544RNC7R0T+w7g9Q0HgwjvKGlIm EFgbxEjTDz1RLt1qVj0Uyp2HYiOG/dYlHPDFjyFHZ+e8QbY/Lwj32COQaIMVUPljyB5nn9 aFgPGD7Kkfj6hSgkeq1LApurTcN3bsB8MB+T7Y1LmpTVxD7206pbQTxweUQDSLyp04W8UF mTBwxQmF9LdEKddX0bpTtG16eO/Gmm1USkH5+XA91h3z2O16/dRxBA6pTNdn46Vn63hMPA wob8kauJ4ZDcv2dO7VbVEMLS9jFBZkJb+XEoLxDqfwlV7e7yVtyMIm8hC9LbTw== 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=1695994024; 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=kmDiVACZ2QvK9RdbdWYRfVxV9pfocQkic1tmh+8T4h8=; b=O232n0mRlgKFvoScSTIrk97TUUvgjvtmgMIwXHsj63xMDVPYgc8EeKiH+sVds66F9KAM5y M6CodiRukQ94q4Iw440eO+gTFccsH4wNMLdOCXMFuQQUPX/Op8SenLcMgJHaeHo6HbYaLx K2pp83J9n7SjMyX1Y0Yg+2NEhh2qzIjJ95Y9h5bQT/W0/fmuYoVI1Z8YkiziapEk9ULKNQ /o7/0AypOGX7MeJ8zRpjs2p9aqw3CmBfGyayFWViXZ9Vnf2S2a5DkcGTJ3rKHiW3WCT+qb Nb8J8Tq4yEw/wE+p0wV25C+awNto5npthDyvsBOygz+c4xWgKAPbAYMcibmHyA== 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 4Rxrjh59gtz15PK; Fri, 29 Sep 2023 13:27:04 +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 38TDR4GA067180; Fri, 29 Sep 2023 13:27:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38TDR4I3067177; Fri, 29 Sep 2023 13:27:04 GMT (envelope-from git) Date: Fri, 29 Sep 2023 13:27:04 GMT Message-Id: <202309291327.38TDR4I3067177@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: f147cf0ee2b2 - main - dtc: Ensure it is built in C++17 mode List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f147cf0ee2b2642c0a133a71c8a5dc018518d923 Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=f147cf0ee2b2642c0a133a71c8a5dc018518d923 commit f147cf0ee2b2642c0a133a71c8a5dc018518d923 Author: Jose Luis Duran AuthorDate: 2023-09-29 13:24:32 +0000 Commit: Ed Maste CommitDate: 2023-09-29 13:26:51 +0000 dtc: Ensure it is built in C++17 mode Explicitly specify the C++ standard to be used in the Makefile. This prevents macOS cross-builds from using the default gnu++98 and fail. This syncs dtc with upstream commit 39a58cfaab7d55c7975ebf905d859ba91a369fa0. Reviewed by: emaste Fixes: 29a55fd09b0a ("dtc: Sync with upstream commit 26a0fe5") Differential Revision: https://reviews.freebsd.org/D42006 --- usr.bin/dtc/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.bin/dtc/Makefile b/usr.bin/dtc/Makefile index d7661ae164c3..9b1aff13511f 100644 --- a/usr.bin/dtc/Makefile +++ b/usr.bin/dtc/Makefile @@ -6,6 +6,8 @@ WARNS?= 3 CXXFLAGS+= -fno-rtti -fno-exceptions +CXXSTD= c++17 + NO_SHARED?=NO .include