From nobody Thu Aug 25 21:35:53 2022 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 4MDGVL0PjXz4ZZ90; Thu, 25 Aug 2022 21:35:54 +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 4MDGVK6p47z3rKc; Thu, 25 Aug 2022 21:35:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661463354; 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=nZssy65/oJfCGdl13ErZHAbgoapMOQmRNIFJfK+UD1Q=; b=SBU6Bz4b9271WU+DtrZXJuerd9xXcKAsO1QVLTyMq91EsFwiJ976ORBMaVCfbHk4/Jo4LQ Owkn/UtlM0RzZugFFB4AKSP/1jyGvLQmkennRHHOMTtGA4XXK+AD8+q2dJWz4+6GiMOmGI Ctwj+eQO49zGE9F7S5N/pC1R+uJUbdfbwr116f6JTb5J29trSqHwNuTKfxBTGLj6Ayx+kK zB0EjPxMfG5eimANs7CRq+k7/28+soJcnPKxqr57jzdeyF9bnvhMg69JT8Hg28TdAV6OjA uV5OaaSuom0gt6FYo5O1qIcKexRlkfZKq526zTBHfHp+WGmry+jRJgemO+RyVA== 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 4MDGVK5t87z13WW; Thu, 25 Aug 2022 21:35:53 +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 27PLZrpe085725; Thu, 25 Aug 2022 21:35:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27PLZr4K085724; Thu, 25 Aug 2022 21:35:53 GMT (envelope-from git) Date: Thu, 25 Aug 2022 21:35:53 GMT Message-Id: <202208252135.27PLZr4K085724@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: b00b217c0a95 - main - Mk/Uses/compiler.mk: switch to -stdlib=libc++ 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: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b00b217c0a952c904f8d7db405715f0dd6d1bfdb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661463354; 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=nZssy65/oJfCGdl13ErZHAbgoapMOQmRNIFJfK+UD1Q=; b=Oze/lamTBmSHsr1r6irs0kG0GT8w4FIzY20+4o5bLUgcuhu/h5k12FjpIDgzwbQ/KfGf/O IcWA6ENMD5YWlWtdeYv/kdk8JOW0k/bsw1CsXTYfq8YpVDlJp5NbQ5GcZKox/prA1gBbWa jZ5sFMBwGaRCookqzRg3o5eoicR/mtxkIxrj/i0Ud1UAme95Ll3IlWCR/uBzgZjmXShiN9 Lz9ncZDCreQLpd4WqC7KkWFsufJAtxZxk1f4lxeX6VPAZRWe06YKbmzo8mV5BmTA5f0uGw RooS0UjuOZV0WcganlokyngFFd57bbTQ+HocvRZHLFEVirwlY7KyFrHL6C0BZQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661463354; a=rsa-sha256; cv=none; b=P0upe9W1a+sJkZ76Zm4mrFW58l+gj79mTFhbTD4PTUyIwi9MT8mjzNBHRONbCsUVWN9gDX e/iohXLom1Y8EeTWnimcvGuLSdUJedNFE++Esyf1cIPk5wuKjYu2b2oDBhE+OIop5AphDy i0o2rjWvwmiXr7BAh485MXHJUbO72vNIlhluvVx4j377MmsP89HeoigznHOR+QQx36weJP kwbXDuVpjjtg4lTsXXuKqok2dn/lCHcE3g953DJMJqsgXneQLo2UTKpDN5xU4SjdA+qTrV OuGSAnvPtfmtwsdPtijFcHDNL3ZrOGovLYRJ1cqZSJXGjPQxPsza+VFNzT4T5g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=b00b217c0a952c904f8d7db405715f0dd6d1bfdb commit b00b217c0a952c904f8d7db405715f0dd6d1bfdb Author: Jan Beich AuthorDate: 2022-08-20 21:08:22 +0000 Commit: Jan Beich CommitDate: 2022-08-25 21:35:38 +0000 Mk/Uses/compiler.mk: switch to -stdlib=libc++ GCC >= 11 supports -stdlib=libc++ (like Clang) which allows to simplify USES=compiler:gcc-c++11-lib logic. PR: 265964 Exp-run by: antoine --- Mk/Uses/compiler.mk | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Mk/Uses/compiler.mk b/Mk/Uses/compiler.mk index c684f4f0800a..e8191c822942 100644 --- a/Mk/Uses/compiler.mk +++ b/Mk/Uses/compiler.mk @@ -187,12 +187,7 @@ CHOSEN_COMPILER_TYPE= clang USE_GCC= yes CHOSEN_COMPILER_TYPE= gcc . if ${COMPILER_FEATURES:Mlibc++} -CXXFLAGS+= -nostdinc++ -isystem /usr/include/c++/v1 -LDFLAGS+= -L${WRKDIR} - -_USES_configure+= 200:gcc-libc++-configure -gcc-libc++-configure: - @${LN} -fs /usr/lib/libc++.so ${WRKDIR}/libstdc++.so +CXXFLAGS+= -stdlib=libc++ . endif . endif