gcc: made sure that no unsubstituted @LDFLAGS@ is left in the generated Makefiles
authorMartin Dietze <martin@the-little-red-haired-girl.org>
Sat, 23 May 2009 11:27:59 +0000 (13:27 +0200)
committermd <md@freiheit.com>
Wed, 27 May 2009 19:51:00 +0000 (21:51 +0200)
recipes/gcc/gcc-configure-common.inc

index ee5784a..9363585 100644 (file)
@@ -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
 }