mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 23:44:17 +08:00
Set rpath and add more deps to cookbook
This commit is contained in:
parent
1a3703c753
commit
eaa211dfbc
@ -40,7 +40,6 @@ export CFLAGS_FOR_TARGET="${CPPFLAGS}" CXXFLAGS_FOR_TARGET="${CPPFLAGS}" LDFLAGS
|
||||
export CC_FOR_BUILD="$CC_WRAPPER gcc" CXX_FOR_BUILD="$CC_WRAPPER g++"
|
||||
unset CFLAGS CPPFLAGS LDFLAGS
|
||||
COOKBOOK_CONFIGURE_FLAGS+=(
|
||||
--with-sysroot=/
|
||||
--with-gmp="${COOKBOOK_SYSROOT}/usr"
|
||||
--with-mpfr="${COOKBOOK_SYSROOT}/usr"
|
||||
--with-mpc="${COOKBOOK_SYSROOT}/usr"
|
||||
|
||||
@ -25,7 +25,6 @@ cc = "COOKBOOK_GNU_TARGET-gcc"
|
||||
cxx = "COOKBOOK_GNU_TARGET-g++"
|
||||
ar = "COOKBOOK_GNU_TARGET-ar"
|
||||
linker = "COOKBOOK_GNU_TARGET-gcc"
|
||||
rpath = false
|
||||
crt-static = false
|
||||
llvm-config = "COOKBOOK_SYSROOT/bin/llvm-config"
|
||||
|
||||
|
||||
@ -27,5 +27,9 @@ dependencies = [
|
||||
"pkgar",
|
||||
"python312",
|
||||
"sed",
|
||||
"wget",
|
||||
# toolchains are dynamically linked, so this is needed
|
||||
"libgmp",
|
||||
"libmpfr",
|
||||
"mpc",
|
||||
"curl",
|
||||
]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user