copy in newer libc for bootstrap to workaround abi breakage triggered by a diff

This commit is contained in:
naddy 2022-11-19 21:04:40 +00:00
parent 8ea00fb15b
commit 0334efaed3
1 changed files with 2 additions and 0 deletions

View File

@ -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.