From df5c945cf84990ab18b83fa0abfcb2269af1ea97 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Thu, 5 May 2016 19:58:34 +0200 Subject: [PATCH] gdb: fix cross-build for aarch64. Usually, this autoconf override is set while do_configure, but gdb also runs configure scripts during do_build; override again. --- srcpkgs/gdb/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/gdb/template b/srcpkgs/gdb/template index 95f4ae3b782..03382423237 100644 --- a/srcpkgs/gdb/template +++ b/srcpkgs/gdb/template @@ -34,6 +34,9 @@ vopt_conflict gdbserver static post_extract() { sed -i 's,sgidefs.h,asm/sgidefs.h,' gdb/mips-linux-nat.c } +pre_build() { + export gl_cv_func_gettimeofday_clobber=no +} post_install() { # resolve conflicts with binutils rm -rf ${DESTDIR}/usr/include ${DESTDIR}/usr/lib