Merge pull request #5834 from CMB/gdbcross

gdb: configure with --with-build-sysroot, not --with-sysroot.
This commit is contained in:
Enno Boland 2017-03-08 10:13:19 +01:00 committed by GitHub
commit c02eccc033

View File

@ -1,7 +1,7 @@
# Template file for 'gdb'
pkgname=gdb
version=7.12.1
revision=1
revision=2
patch_args="-Np1"
build_style=gnu-configure
pycompile_dirs="/usr/share/gdb"
@ -36,6 +36,9 @@ vopt_conflict gdbserver static
post_extract() {
sed -i 's,sgidefs.h,asm/sgidefs.h,' gdb/mips-linux-nat.c
}
pre_configure() {
configure_args="${configure_args/with-sysroot/with-build-sysroot}"
}
pre_build() {
export gl_cv_func_gettimeofday_clobber=no
}