summaryrefslogtreecommitdiffstats
path: root/lib/atf
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-03-17 15:16:36 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-03-17 15:16:36 +0000
commit1a0e4eb27b5a22e9a29587cb02b59855f835a9c3 (patch)
tree61013e6d5d3cfc9758b3a99272f07e478122acd1 /lib/atf
parent2623b0958c6f00ae161f392960a416d35e4b21e4 (diff)
downloadFreeBSD-src-1a0e4eb27b5a22e9a29587cb02b59855f835a9c3.zip
FreeBSD-src-1a0e4eb27b5a22e9a29587cb02b59855f835a9c3.tar.gz
Add LIB_CXX so that C++ libraries will use CXX to link.
This fixes C++ libraries not implicitly linking in libc++. This is generally not an issue because the final linking with the compiled binary will involve CXX via PROG_CXX or other means. It is however inconsistent with libraries implicitly linking in libc and problematic for trying to build libraries with '-z defs' to ensure all direct dependencies are linked in. libatf-c++ is currently the only consumer of this new feature. Differential Revision: https://reviews.freebsd.org/D2039 Reviewed by: imp Discussed with: bapt MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib/atf')
-rw-r--r--lib/atf/libatf-c++/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/atf/libatf-c++/Makefile b/lib/atf/libatf-c++/Makefile
index c8fdfac..13f3fe4 100644
--- a/lib/atf/libatf-c++/Makefile
+++ b/lib/atf/libatf-c++/Makefile
@@ -28,7 +28,7 @@
.include <src.opts.mk>
.include <bsd.init.mk>
-LIB= atf-c++
+LIB_CXX= atf-c++
PRIVATELIB= true
SHLIB_MAJOR= 2
OpenPOWER on IntegriCloud