From 646a9763f567cf92601d4dcd043e36a20ec35cce Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sun, 25 Dec 2016 15:39:52 +0000 Subject: [PATCH] Fix build of lib32 libraries for amd64 and powerpc64 with cross toolchain --- Makefile.libcompat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.libcompat b/Makefile.libcompat index 987874b1548..a2a25cfd2bb 100644 --- a/Makefile.libcompat +++ b/Makefile.libcompat @@ -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