git: de8d66b37823 - stable/12 - Revert "libpmc: fix linking with C programs"
Alan Somers
asomers at FreeBSD.org
Sat Feb 20 03:26:16 UTC 2021
The branch stable/12 has been updated by asomers:
URL: https://cgit.FreeBSD.org/src/commit/?id=de8d66b378233b37590cac5b4fdf46e6606dcf22
commit de8d66b378233b37590cac5b4fdf46e6606dcf22
Author: Alan Somers <asomers at FreeBSD.org>
AuthorDate: 2021-02-20 03:25:15 +0000
Commit: Alan Somers <asomers at FreeBSD.org>
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"
More information about the dev-commits-src-all
mailing list