Fix build of lib32 libraries for amd64 and powerpc64 with cross toolchain

This commit is contained in:
bapt 2016-12-25 15:39:52 +00:00
parent 43c057d5e0
commit 55e3bcbd99

View File

@ -85,7 +85,7 @@ LIBCOMPATCFLAGS+= -isystem ${LIBCOMPATTMP}/usr/include
.if ${X_COMPILER_VERSION} >= 40800 && \
(${MK_CLANG_BOOTSTRAP} == "no" && ${MK_GCC_BOOTSTRAP} == "no")
LIBCOMPATCXXFLAGS+= -isystem ${LIBCOMPATTMP}/usr/include/c++/v1 -std=c++11 \
-nostdinc++ -L${LIBCOMPAT_OBJTREE}${.CURDIR}/lib/libc++
-nostdinc++
.endif
.endif