From 215d02b78ca9d16dfcf9cea2bff3f4d1d3f14cd2 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Tue, 17 Mar 2015 15:16:36 +0000 Subject: 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 --- lib/atf/libatf-c++/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/atf') diff --git a/lib/atf/libatf-c++/Makefile b/lib/atf/libatf-c++/Makefile index c8fdfacf3686..13f3fe441ffd 100644 --- a/lib/atf/libatf-c++/Makefile +++ b/lib/atf/libatf-c++/Makefile @@ -28,7 +28,7 @@ .include .include -LIB= atf-c++ +LIB_CXX= atf-c++ PRIVATELIB= true SHLIB_MAJOR= 2 -- cgit v1.2.3