mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 15:34:18 +08:00
libgcc: fix compilation on riscv64gc
This commit is contained in:
parent
754602d1b9
commit
f78c3499bc
@ -3,6 +3,6 @@ template = "custom"
|
||||
script = """
|
||||
mkdir -p "${COOKBOOK_STAGE}/lib"
|
||||
cp -vr ${COOKBOOK_HOST_SYSROOT}/lib/gcc ${COOKBOOK_STAGE}/lib/
|
||||
cp -vr ${COOKBOOK_HOST_SYSROOT}/${TARGET}/lib/. ${COOKBOOK_STAGE}/lib/
|
||||
rm ${COOKBOOK_STAGE}/lib/{crt0.o,crt1.o,crti.o,crtn.o,libc.a,libc.so.6,ld64.so.1}
|
||||
cp -vr ${COOKBOOK_HOST_SYSROOT}/${GNU_TARGET}/lib/. ${COOKBOOK_STAGE}/lib/
|
||||
rm -f ${COOKBOOK_STAGE}/lib/{crt0.o,crt1.o,crti.o,crtn.o,libc.a,libc.so.6,libc.so.1,ld.so.1,ld64.so.1}
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user