Add recipe for libstdc++

This commit is contained in:
Jeremy Soller 2025-04-24 17:34:47 -06:00
parent a4b7309131
commit c1bd151d4e
No known key found for this signature in database
GPG Key ID: 670FDFB5428E05CA
3 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,6 @@
GIT=https://gitlab.redox-os.org/redox-os/rust.git
BRANCH=redox-2024-05-11
BUILD_DEPENDS=(llvm18-shared zlib libgcc)
BUILD_DEPENDS=(llvm18-shared zlib)
DEPENDS="gcc13 cargo"
PREPARE_COPY=0

View File

@ -21,6 +21,3 @@ COOKBOOK_CONFIGURE_FLAGS=(
)
cookbook_configure
"""
[package]
shared_deps = ["libgcc", "zlib"]

View File

@ -0,0 +1,6 @@
[build]
template = "custom"
script = """
mkdir -p "${COOKBOOK_STAGE}/lib"
cp -av ${COOKBOOK_HOST_SYSROOT}/${GNU_TARGET}/lib/libstdc++.so* ${COOKBOOK_STAGE}/lib/
"""