mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 23:44:17 +08:00
feat(recipes): libgcc
Signed-off-by: Anhad Singh <andypython@protonmail.com>
This commit is contained in:
parent
11c96f8bee
commit
30cd0e845d
11
recipes/libs/libgcc/recipe.toml
Normal file
11
recipes/libs/libgcc/recipe.toml
Normal file
@ -0,0 +1,11 @@
|
||||
[source]
|
||||
path = "../prefix/x86_64-unknown-redox/sysroot"
|
||||
|
||||
[build]
|
||||
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}
|
||||
"""
|
||||
Loading…
Reference in New Issue
Block a user