diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2020-08-14 16:55:08 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2020-08-14 16:55:08 +0000 |
commit | 2b62ba69339a05161fb79066828f333fd3da44e2 (patch) | |
tree | b2246540d996f1e2f8a7a62b2767ac52f2f0c199 /Makefile.cross | |
parent | e85cecd3ca91d3f716d25cc2cf9e4d84ea0e56b9 (diff) |
Update compiler-rt path in cross-build infrastructure.
Diffstat (limited to 'Makefile.cross')
-rw-r--r-- | Makefile.cross | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.cross b/Makefile.cross index 610741b8fe5..b7860e03be1 100644 --- a/Makefile.cross +++ b/Makefile.cross @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.cross,v 1.108 2020/05/30 19:22:00 drahn Exp $ +# $OpenBSD: Makefile.cross,v 1.109 2020/08/14 16:55:07 patrick Exp $ cross-tools: cross-includes cross-binutils cross-gcc cross-lib cross-distrib: cross-tools cross-bin cross-share cross-sys cross-etc-root-var @@ -338,8 +338,13 @@ cross-lib: ${CROSSGCC} BSDOBJDIR=${CROSSDIR}/usr/obj \ BUILD_CLANG=${BUILD_CLANG}; \ export MACHINE MACHINE_ARCH MACHINE_CPU BSDOBJDIR BUILD_CLANG; \ + (cd ${.CURDIR}/gnu/lib/libcompiler_rt; \ + eval ${CROSSENV} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \ + ${MAKE} all ;\ + eval ${CROSSENV} MAKEOBJDIR=obj.${MACHINE}.${TARGET} DESTDIR=${CROSSDIR} \ + ${MAKE} install); \ (cd ${.CURDIR}/lib; \ - for lib in csu libcompiler_rt libc; do \ + for lib in csu libc; do \ (cd $$lib; \ eval ${CROSSENV} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \ ${MAKE} all ;\ |