gdb: fix mips/musl builds.
This commit is contained in:
@@ -31,6 +31,9 @@ build_options_default="gdbserver python"
|
|||||||
# Both options cannot be enabled at the same time
|
# Both options cannot be enabled at the same time
|
||||||
vopt_conflict gdbserver static
|
vopt_conflict gdbserver static
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
sed -i 's,sgidefs.h,asm/sgidefs.h,' gdb/mips-linux-nat.c
|
||||||
|
}
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user