feat(rustc): dynamic

Signed-off-by: Anhad Singh <andypython@protonmail.com>
This commit is contained in:
Anhad Singh 2025-02-10 23:22:28 +11:00
parent dea85812d1
commit 4f70981463
No known key found for this signature in database
GPG Key ID: 80E0357347554B89
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
[llvm]
download-ci-llvm = false
static-libstdcpp = true
static-libstdcpp = false
[build]
host = ["x86_64-unknown-redox"]
@ -26,4 +26,4 @@ ar = "x86_64-unknown-redox-ar"
linker = "x86_64-unknown-redox-gcc"
# Nasty path, please fix
llvm-config = "../../../../bin/x86_64-unknown-redox-llvm-config"
crt-static = true
crt-static = false

View File

@ -1,6 +1,6 @@
GIT=https://gitlab.redox-os.org/redox-os/rust.git
BRANCH=redox-2024-05-11
BUILD_DEPENDS=(llvm18)
BUILD_DEPENDS=(llvm18-shared zlib libgcc)
DEPENDS="gcc13 cargo"
PREPARE_COPY=0
@ -11,6 +11,7 @@ function recipe_version {
function recipe_build {
unset AR AS CC CXX LD NM OBJCOPY OBJDUMP RANLIB READELF STRIP
export MAGIC_EXTRA_RUSTFLAGS="-C link-args=-lz"
python3 "${COOKBOOK_SOURCE}/x.py" install --config "${COOKBOOK_RECIPE}/config.toml" --jobs $(nproc) --incremental
skip=1
}