Bug 265964 - Mk/Uses/compiler.mk: switch to -stdlib=libc++
Summary: Mk/Uses/compiler.mk: switch to -stdlib=libc++
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jan Beich
URL:
Keywords: needs-qa, patch
Depends on: 265962
Blocks:
  Show dependency treegraph
 
Reported: 2022-08-20 21:27 UTC by Jan Beich
Modified: 2022-08-25 21:38 UTC (History)
1 user (show)

See Also:
antoine: exp-run+


Attachments
v1 (apply via "git am") (957 bytes, patch)
2022-08-20 21:27 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2022-08-20 21:27:03 UTC
Created attachment 236027 [details]
v1 (apply via "git am")

GCC >= 11 supports -stdlib=libc++ (like Clang) which allows to simplify USES=compiler:gcc-c++11-lib logic.
Comment 1 Jan Beich freebsd_committer freebsd_triage 2022-08-20 21:57:44 UTC
At least one consumer (comms/sdr-wspr) built fine here. Can you test all ports together with bug 265962 ?

Note, unlike ports 13d07760cf4a I plan to omit "Approved by" due to ports 767d81e1296a.
Comment 2 Antoine Brodin freebsd_committer freebsd_triage 2022-08-25 09:23:25 UTC
Exp-run looks fine.
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-08-25 21:36:39 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b00b217c0a952c904f8d7db405715f0dd6d1bfdb

commit b00b217c0a952c904f8d7db405715f0dd6d1bfdb
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-08-20 21:08:22 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
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(-)