637da791ff
recipes/dev/gcc13 was claiming name='cxx' — conflicted with local/recipes/dev/gcc-native also claiming 'cxx'. Renamed to match directory names for unique package identification by the cookbook.
37 lines
643 B
TOML
37 lines
643 B
TOML
[package]
|
|
name = "gdb"
|
|
version = "15.1"
|
|
|
|
#TODO port to redox
|
|
[source]
|
|
tar = "https://ftp.gnu.org/gnu/gdb/gdb-15.1.tar.xz"
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
"libgmp",
|
|
"libmpfr",
|
|
"ncurses",
|
|
"readline",
|
|
]
|
|
script = """
|
|
DYNAMIC_INIT
|
|
|
|
COOKBOOK_CONFIGURE_FLAGS+=(
|
|
--disable-binutils
|
|
--disable-ld
|
|
--disable-gold
|
|
--disable-gas
|
|
--disable-sim
|
|
--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
|
|
"""
|