mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-12 09:58:36 +00:00
DIRDEPS_BUILD: Avoid cyclic dependency with libc++.
The DIRDEPS_BUILD does not have a 'make includes' phase, so it would otherwise want libc++ to be fully built/staged before building libgcc. Using the header directly works. MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
e1ec67bbc9
commit
790ba09ec6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=305145
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user