mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-25 14:24:18 +08:00
feat(rustc): dynamic
Signed-off-by: Anhad Singh <andypython@protonmail.com>
This commit is contained in:
parent
dea85812d1
commit
4f70981463
@ -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
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user