Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Feb 2021 03:26:16 GMT
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: de8d66b37823 - stable/12 - Revert "libpmc: fix linking with C programs"
Message-ID:  <202102200326.11K3QGDJ089197@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by asomers:

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

commit de8d66b378233b37590cac5b4fdf46e6606dcf22
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2021-02-20 03:25:15 +0000
Commit:     Alan Somers <asomers@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"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102200326.11K3QGDJ089197>