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
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to