diff --git a/recipes/wip/dev/debug/gdb/recipe.toml b/recipes/wip/dev/debug/gdb/recipe.toml index c96c2b07..b74927fe 100644 --- a/recipes/wip/dev/debug/gdb/recipe.toml +++ b/recipes/wip/dev/debug/gdb/recipe.toml @@ -6,8 +6,12 @@ template = "custom" dependencies = [ "libgmp", "libmpfr", + "ncurses", + "readline" ] script = """ +DYNAMIC_INIT + COOKBOOK_CONFIGURE_FLAGS+=( --disable-binutils --disable-ld @@ -17,6 +21,12 @@ COOKBOOK_CONFIGURE_FLAGS+=( --disable-gprof --disable-gprofng --disable-intl + --with-system-readline + --with-gmp="${COOKBOOK_SYSROOT}" + --with-mpfr="${COOKBOOK_SYSROOT}" + --with-curses ) + +"${COOKBOOK_CONFIGURE}" "${COOKBOOK_CONFIGURE_FLAGS[@]}" cookbook_configure """