From 0334efaed31bdbe448e2eb2a8ad6e00600da49b2 Mon Sep 17 00:00:00 2001 From: naddy Date: Sat, 19 Nov 2022 21:04:40 +0000 Subject: [PATCH] copy in newer libc for bootstrap to workaround abi breakage triggered by a diff --- lang/ldc/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lang/ldc/Makefile b/lang/ldc/Makefile index e155965878a..e6db072d604 100644 --- a/lang/ldc/Makefile +++ b/lang/ldc/Makefile @@ -53,6 +53,8 @@ post-patch: ${WRKDIR}/ldc-${V}-bootstrap/${MACHINE_ARCH}/ldc2.conf sed -i 's#"/usr/local/lib",#"/usr/local/lib","${WRKDIR}/ldc-${V}-bootstrap/${MACHINE_ARCH}",#g' \ ${WRKDIR}/ldc-${V}-bootstrap/${MACHINE_ARCH}/ldc2.conf + chmod 644 ${WRKDIR}/ldc-${V}-bootstrap/${MACHINE_ARCH}/lib*.so* # XXX + cp /usr/lib/libc.so.96.* ${WRKDIR}/ldc-${V}-bootstrap/${MACHINE_ARCH}/ # XXX # Same trick as with flang: # Replace the shared LLVM.so library with the static libraries.