The branch stable/12 has been updated by asomers:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=de8d66b378233b37590cac5b4fdf46e6606dcf22

commit de8d66b378233b37590cac5b4fdf46e6606dcf22
Author:     Alan Somers <[email protected]>
AuthorDate: 2021-02-20 03:25:15 +0000
Commit:     Alan Somers <[email protected]>
CommitDate: 2021-02-20 03:25:15 +0000

    Revert "libpmc: fix linking with C programs"
    
    This reverts commit 418d29545e0b98b269c346adc6931359065ffbdb.  It causes
    build failures on GCC platforms in stable/12, even though it doesn't in
    13 and later.
---
 lib/libpmc/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/libpmc/Makefile b/lib/libpmc/Makefile
index f4b5516274be..35bacb26bd11 100644
--- a/lib/libpmc/Makefile
+++ b/lib/libpmc/Makefile
@@ -8,7 +8,6 @@ INCS=   pmc.h pmclog.h pmcformat.h
 
 CFLAGS+= -I${.CURDIR}
 CWARNFLAGS.gcc+= -Wno-shadow -Wno-cast-align
-LDADD+=        -lc++
 
 .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to