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