Skip to contentSkip to conversation

gcc-configure-cross.inc: Remove info generation

PATCH New Khem Raj 1 participant 1 message May 8, 2013

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 gcc-configure-cross.inc: Remove info generation

Some distros have newer makeinfo which does not go well with anything below gcc 4.8, this fix avoids regenerating info files

---
 meta/recipes-devtools/gcc/gcc-configure-cross.inc | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-devtools/gcc/gcc-configure-cross.inc +3 -0
index 243ee55d..db7980b 100644
@@ -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"
Signature · 1 line
1.8.2.2