From 13c6fcb09448662cdb7990db61c36673036f307b Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Wed, 5 May 2010 14:11:43 +0200 Subject: [PATCH] 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 --- recipes/gdb/gdb.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" -- 2.39.5