diff --git a/rules/gdb/common.bash b/rules/gdb/common.bash index 2b55992..7ada03a 100644 --- a/rules/gdb/common.bash +++ b/rules/gdb/common.bash @@ -1,14 +1,14 @@ version=\ ( - '7.7.1' + '7.8.2' ) url=\ ( - "http://ftp.gnu.org/gnu/gdb/gdb-$version.tar.bz2" + "http://ftp.gnu.org/gnu/gdb/gdb-$version.tar.xz" ) md5=\ ( - '77b20b515e7c25f032cb9732a66620fe' + 'a80cf252ed2e775d4e4533341bbf2459' ) diff --git a/rules/gdb/cross.bash b/rules/gdb/cross.bash index 3cd3b64..4211a2b 100644 --- a/rules/gdb/cross.bash +++ b/rules/gdb/cross.bash @@ -8,13 +8,12 @@ requires=\ configure() { cd "$pkg_build_dir" && - CFLAGS=-I"$cfg_dir_toolchain/include" \ - LDFLAGS=-L"$cfg_dir_toolchain/lib" \ "../gdb-$version/configure" \ --prefix="$cfg_dir_toolchain" \ --target="$cfg_target_canonical" \ --host="$cfg_host_canonical" \ --build="$cfg_host_canonical" \ + --with-build-sysroot="$cfg_dir_toolchain_sysroot" \ --with-sysroot="$cfg_dir_toolchain_sysroot" \ --disable-nls \ --disable-tui @@ -28,5 +27,4 @@ build() host_install() { $cmd_make -C "$pkg_build_dir" install - rm -rf "$cfg_dir_toolchain"/{info,man} }