libgcrypt: restore BBCLASSEXTEND
[openembedded.git] / recipes / gdb / gdb-cross.inc
1 require gdb-common.inc
2
3 DEPENDS = "ncurses-native zlib-native flex-native"
4
5 EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils' LDFLAGS='${BUILD_LDFLAGS}'"
6
7 EXTRA_OECONF = "--with-curses --with-readline"
8
9 do_configure () {
10 # override this function to avoid the autoconf/automake/aclocal/autoheader
11 # calls for now
12         (cd ${S} && gnu-configize) || die "failure in running gnu-configize"
13
14         # Fix for issues when system's texinfo version >= 4.10
15         # (See https://bugzilla.redhat.com/show_bug.cgi?id=345621)
16         sed -i -e "s@egrep 'texinfo.*'@egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|4.[1-9][0-9]+|[5-9])'@" '${S}/configure'
17
18
19         oe_runconf
20 }
21
22 do_stage () {
23         oe_runmake install
24 }