Patchwork gcc-configure-cross.inc: Remove info generation

login
register
mail settings
Submitter Khem Raj
Date May 8, 2013, 4:47 a.m.
Message ID <1367988436-23974-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/49527/
State Accepted
Commit 40fe7adfd522cc32bb54bdc8f58dadd9ab1e0673
Headers show

Comments

Khem Raj - May 8, 2013, 4:47 a.m.
Some distros have newer makeinfo which does not go well with
anything below gcc 4.8, this fix avoids regenerating info files

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/gcc/gcc-configure-cross.inc | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/meta/recipes-devtools/gcc/gcc-configure-cross.inc b/meta/recipes-devtools/gcc/gcc-configure-cross.inc
index 243ee55d..db7980b 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-cross.inc
@@ -11,6 +11,9 @@  EXTRA_OECONF_PATHS = " \
                       --with-sysroot=${STAGING_DIR_TARGET} \
                       --with-build-sysroot=${STAGING_DIR_TARGET}"
 
+do_configure_prepend () {
+	sed -i 's/BUILD_INFO=info/BUILD_INFO=/' ${S}/gcc/configure
+}
 do_compile_prepend () {
 	export CC="${BUILD_CC}"
 	export AR_FOR_TARGET="${TARGET_SYS}-ar"