From eaa211dfbc55d5df330185d5573ba77b643040bf Mon Sep 17 00:00:00 2001 From: Wildan M Date: Thu, 2 Apr 2026 06:15:48 +0700 Subject: [PATCH] Set rpath and add more deps to cookbook --- recipes/dev/gcc13/recipe.toml | 1 - recipes/dev/rust/config.toml | 1 - recipes/other/cookbook/recipe.toml | 6 +++++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/recipes/dev/gcc13/recipe.toml b/recipes/dev/gcc13/recipe.toml index d3fba283..b6fd0aa3 100644 --- a/recipes/dev/gcc13/recipe.toml +++ b/recipes/dev/gcc13/recipe.toml @@ -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" diff --git a/recipes/dev/rust/config.toml b/recipes/dev/rust/config.toml index b2356b81..918d9fee 100644 --- a/recipes/dev/rust/config.toml +++ b/recipes/dev/rust/config.toml @@ -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" diff --git a/recipes/other/cookbook/recipe.toml b/recipes/other/cookbook/recipe.toml index 17cfee67..285a550c 100644 --- a/recipes/other/cookbook/recipe.toml +++ b/recipes/other/cookbook/recipe.toml @@ -27,5 +27,9 @@ dependencies = [ "pkgar", "python312", "sed", - "wget", +# toolchains are dynamically linked, so this is needed + "libgmp", + "libmpfr", + "mpc", + "curl", ]