gdb-patch
authorMichael Lauer <mickey@vanille-media.de>
Thu, 1 Apr 2004 12:01:46 +0000 (12:01 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Thu, 1 Apr 2004 12:01:46 +0000 (12:01 +0000)
BKrev: 406c04aayEpOaFc1wjK9dOIlzIycHw

gdb/gdb-6.0/libiberty-cross.patch [new file with mode: 0644]
gdb/gdb_6.0.oe

diff --git a/gdb/gdb-6.0/libiberty-cross.patch b/gdb/gdb-6.0/libiberty-cross.patch
new file mode 100644 (file)
index 0000000..e69de29
index 5214a5f..c96f9c7 100644 (file)
@@ -5,11 +5,11 @@ MAINTAINER = "Pawel Osiczko <p.osiczko@tetrapyloctomy.org>"
 #DEPENDS = virtual/libc ncurses readline
 #RDEPENDS = libc6 ncurses readline
 DEPENDS = "virtual/libc ncurses"
-RDEPENDS = "libc6 ncurses"
 
 inherit autotools
 
-SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz"
+SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \
+          file://${FILESDIR}/libiberty-cross.patch;patch=1;pnum=0"
 
 LDFLAGS_append = " -s"
 export CC_FOR_BUILD = "${BUILD_CC}"
@@ -18,7 +18,7 @@ export CPP_FOR_BUILD = "${BUILD_CPP}"
 export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
 export CXXFLAGS_FOR_BUILD = "${BUILD_CXXFLAGS}"
 export CPPFLAGS_FOR_BUILD = "${BUILD_CPPFLAGS}"
-#export CFLAGS_append=" -L${STAGING_LIBDIR}"
+export CFLAGS_append=" -L${STAGING_LIBDIR}"
 EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'"
 
 EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x --disable-nls \