[Bug 236772] build error on cross compile: '.../c++/v1/experimental/' does not exist
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Mar 25 08:50:11 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236772
--- Comment #1 from HIROKI MORI <yamori813 at yahoo.co.jp> ---
This is my temporary workaround.
diff --git a/Makefile.inc1 b/Makefile.inc1
index cf166a813d2..0dc58016601 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1084,6 +1084,7 @@ _cross-tools:
@echo "--------------------------------------------------------------"
@echo ">>> stage 3: cross tools"
@echo "--------------------------------------------------------------"
+ @mkdir -p
/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hir
oki/freebsd/arm.arm/tmp/usr/lib/clang/8.0.0/include/
@rm -f ${OBJTOP}/toolchain-metadata.mk
${_+_}cd ${.CURDIR}; ${XMAKE} cross-tools
${_+_}cd ${.CURDIR}; ${XMAKE} kernel-tools
@@ -1101,6 +1102,8 @@ _includes:
@echo "--------------------------------------------------------------"
# Special handling for SUBDIR_OVERRIDE in buildworld as they most likely need
# headers from default SUBDIR. Do SUBDIR_OVERRIDE includes last.
+ @mkdir -p ${WORLDTMP}/usr/include/c++/v1/experimental
+ @mkdir -p ${WORLDTMP}/usr/include/c++/v1/ext
${_+_}cd ${.CURDIR}; ${WMAKE} SUBDIR_OVERRIDE= SHARED=symlinks ¥
MK_INCLUDES=yes includes
.if !empty(SUBDIR_OVERRIDE) && make(buildworld)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list