net-tools: use bitbake variables rather than shell variables in do_compile
authorChris Larson <chris_larson@mentor.com>
Wed, 19 May 2010 19:53:33 +0000 (12:53 -0700)
committerChris Larson <chris_larson@mentor.com>
Wed, 19 May 2010 19:53:49 +0000 (12:53 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
recipes/net-tools/net-tools_1.60.bb

index a370d83..fcda747 100644 (file)
@@ -83,8 +83,8 @@ do_compile() {
     unset LDFLAGS
 
     oe_runmake
-    $CC $CFLAGS -o ether-wake ether-wake.c
-    $CC $CFLAGS -o mii-diag   mii-diag.c
+    ${CC} ${CFLAGS} ${LDFLAGS} -o ether-wake ether-wake.c
+    ${CC} ${CFLAGS} ${LDFLAGS} -o mii-diag   mii-diag.c
 }
 
 do_install() {