mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
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.
This commit is contained in:
parent
6c9c6ffa72
commit
df5c945cf8
1 changed files with 3 additions and 0 deletions
|
@ -34,6 +34,9 @@ vopt_conflict gdbserver static
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i 's,sgidefs.h,asm/sgidefs.h,' gdb/mips-linux-nat.c
|
sed -i 's,sgidefs.h,asm/sgidefs.h,' gdb/mips-linux-nat.c
|
||||||
}
|
}
|
||||||
|
pre_build() {
|
||||||
|
export gl_cv_func_gettimeofday_clobber=no
|
||||||
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
# resolve conflicts with binutils
|
# resolve conflicts with binutils
|
||||||
rm -rf ${DESTDIR}/usr/include ${DESTDIR}/usr/lib
|
rm -rf ${DESTDIR}/usr/include ${DESTDIR}/usr/lib
|
||||||
|
|
Loading…
Add table
Reference in a new issue