Date: Tue, 3 Jan 2017 22:46:00 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r311178 - stable/11/gnu/lib/libgcc Message-ID: <201701032246.v03Mk0Pf038732@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Tue Jan 3 22:46:00 2017 New Revision: 311178 URL: https://svnweb.freebsd.org/changeset/base/311178 Log: MFC r305145: DIRDEPS_BUILD: Avoid cyclic dependency with libc++. Modified: stable/11/gnu/lib/libgcc/Makefile Directory Properties: stable/11/ (props changed) Modified: stable/11/gnu/lib/libgcc/Makefile ============================================================================== --- stable/11/gnu/lib/libgcc/Makefile Tue Jan 3 22:45:17 2017 (r311177) +++ stable/11/gnu/lib/libgcc/Makefile Tue Jan 3 22:46:00 2017 (r311178) @@ -95,6 +95,10 @@ CXXFLAGS+= -std=c++11 .endif CXXFLAGS+= -fno-rtti STATIC_CXXFLAGS+= -fvisibility=hidden -fPIC +.if ${MK_DIRDEPS_BUILD} == "yes" +# Avoid dependency on lib/libc++ +CFLAGS+= -I${SRCTOP}/contrib/libc++/include +.endif .else # MK_LLVM_LIBUNWIND
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701032246.v03Mk0Pf038732>