summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-05-05 14:11:43 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2010-05-05 14:26:11 +0200
commit13c6fcb09448662cdb7990db61c36673036f307b (patch)
tree7897cf3509aeeeed1c6cd8687a9e7dda7fec69cc
parent567dd4c1782bea316844d6b26b881da2d76a4be6 (diff)
gdb: disable-lto as suggested by zecke on #oe
* workaround for CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/libelf in gdb_7.1 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--recipes/gdb/gdb.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/gdb/gdb.inc b/recipes/gdb/gdb.inc
index a519cef584..1dfaa89284 100644
--- a/recipes/gdb/gdb.inc
+++ b/recipes/gdb/gdb.inc
@@ -24,7 +24,7 @@ EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'"
EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \
--with-curses --disable-multilib --with-readline --disable-sim \
- --program-prefix=''"
+ --program-prefix='' --disable-lto"
LDFLAGS_append = " -s"
export CFLAGS_append=" -L${STAGING_LIBDIR}"