svn commit: r311178 - stable/11/gnu/lib/libgcc
Bryan Drewery
bdrewery at FreeBSD.org
Tue Jan 3 22:46:01 UTC 2017
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
More information about the svn-src-stable
mailing list