[oe-commits] Martin Dietze : gcc: made sure that no unsubstituted @LDFLAGS@ is left in the generated Makefiles

git version control git at git.openembedded.org
Wed May 27 19:51:17 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 173ca78f2eebe33896407ef00b1391d8b205a01f
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=173ca78f2eebe33896407ef00b1391d8b205a01f

Author: Martin Dietze <martin at the-little-red-haired-girl.org>
Date:   Sat May 23 13:27:59 2009 +0200

gcc: made sure that no unsubstituted @LDFLAGS@ is left in the generated Makefiles

---

 recipes/gcc/gcc-configure-common.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/recipes/gcc/gcc-configure-common.inc b/recipes/gcc/gcc-configure-common.inc
index ee5784a..9363585 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
 }





More information about the Openembedded-commits mailing list