From: Martin Dietze Date: Sat, 23 May 2009 11:27:59 +0000 (+0200) Subject: gcc: made sure that no unsubstituted @LDFLAGS@ is left in the generated Makefiles X-Git-Tag: Release-2010-05/1~3365^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=173ca78f2eebe33896407ef00b1391d8b205a01f;p=openembedded.git gcc: made sure that no unsubstituted @LDFLAGS@ is left in the generated Makefiles --- diff --git a/recipes/gcc/gcc-configure-common.inc b/recipes/gcc/gcc-configure-common.inc index ee5784afc3..9363585de1 100644 --- a/recipes/gcc/gcc-configure-common.inc +++ b/recipes/gcc/gcc-configure-common.inc @@ -89,4 +89,7 @@ do_configure () { echo "#define STANDARD_INCLUDE_DIR \"${layout_includedir}\"" >> ${S}/gcc/defaults.h oe_runconf + + # make sure that no @LDFLAG@ is left in the generated Makefile + sed -i "s/@LDFLAGS@//g" ${B}/Makefile }