From 0e07ce71f28fe7a4b0094bc3cbb0c621e87be3ab Mon Sep 17 00:00:00 2001 From: Aadarsh Date: Fri, 14 Aug 2026 11:51:17 +0530 Subject: [PATCH] Edit recipe.toml --- recipes/dev/binutils-gdb/recipe.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes/dev/binutils-gdb/recipe.toml b/recipes/dev/binutils-gdb/recipe.toml index 6d7d72c7c..3b186b582 100644 --- a/recipes/dev/binutils-gdb/recipe.toml +++ b/recipes/dev/binutils-gdb/recipe.toml @@ -8,7 +8,7 @@ template = "custom" dependencies = [ "libgmp", "libmpfr", - "readline", + "target:readline", # TODO: this zlib get linked when boostrapping binutils # "zlib" ] @@ -18,6 +18,8 @@ DYNAMIC_INIT if [ "${COOKBOOK_HOST_SYSROOT}" = "/usr" ]; then # not specifying --enable-shared as it will link shared deps COOKBOOK_CONFIGURE_FLAGS=( --prefix=/usr --host="${GNU_TARGET}" --program-prefix="${COOKBOOK_CROSS_GNU_TARGET:-$GNU_TARGET}-" ) +else +COOKBOOK_CONFIGURE_FLAGS+=( --with-system-readline ) fi COOKBOOK_CONFIGURE_FLAGS+=( @@ -26,7 +28,6 @@ COOKBOOK_CONFIGURE_FLAGS+=( --enable-deterministic-archives --disable-werror # --with-system-zlib - --with-system-readline ) cookbook_configure