Always use libc++ as the default c++ stack when building with an external gcc 4.8+
While here disable building gcc from base when using gcc 4.8+ Reviewed by: imp
This commit is contained in:
parent
d8d1a9ad6c
commit
ff2cf3685b
@ -358,4 +358,12 @@ MK_${vv:H}:= ${MK_${vv:T}}
|
||||
MK_LLDB:= no
|
||||
.endif
|
||||
|
||||
# gcc 4.8 and newer supports libc++, so suppress gnuc++ in that case.
|
||||
# while in theory we could build it with that, we don't want to do
|
||||
# that since it creates too much confusion for too little gain.
|
||||
.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 40800
|
||||
MK_GNUCXX:=no
|
||||
MK_GCC:=no
|
||||
.endif
|
||||
|
||||
.endif # !target(__<src.opts.mk>__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user