From 4a021e985624d299dacbb66c17ffd6b70149476a Mon Sep 17 00:00:00 2001 From: Leon Woestenberg Date: Thu, 26 Nov 2009 21:25:43 +0100 Subject: helloworld: Adhere to ${CFLAGS} and {LDFLAGS}. Ehrm... Signed-off-by: Leon Woestenberg --- recipes/helloworld/helloworld_1.0.0.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes/helloworld/helloworld_1.0.0.bb b/recipes/helloworld/helloworld_1.0.0.bb index af29a7769a..83b3965960 100644 --- a/recipes/helloworld/helloworld_1.0.0.bb +++ b/recipes/helloworld/helloworld_1.0.0.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Minimal statically compiled Hello world!" LICENSE = "GPL" -PR = "r0" +PR = "r1" S = "${WORKDIR}/${P}" @@ -11,7 +11,8 @@ do_fetch () { } do_compile () { - ${CC} -o helloworld helloworld.c -static + ${CC} ${CFLAGS} -c -o helloworld.o helloworld.c + ${CC} ${LDFLAGS} -o helloworld helloworld.o -static } do_install () { -- cgit 1.2.3-korg