gdb: fix mips/musl builds.

This commit is contained in:
Juan RP 2016-04-27 10:12:19 +02:00
parent d821125b8b
commit cf2976d213

View file

@ -31,6 +31,9 @@ build_options_default="gdbserver python"
# Both options cannot be enabled at the same time
vopt_conflict gdbserver static
post_extract() {
sed -i 's,sgidefs.h,asm/sgidefs.h,' gdb/mips-linux-nat.c
}
post_install() {
# resolve conflicts with binutils
rm -rf ${DESTDIR}/usr/include ${DESTDIR}/usr/lib