From 9d4a69fd0de8fc52fa80ea14a437ad5d0e368d84 Mon Sep 17 00:00:00 2001 From: Alejandro Hernandez Date: Tue, 13 Dec 2016 10:41:12 -0600 Subject: example-recipe: Fix LDFLAGS compilation issue on newly created recipes (From meta-yocto rev: aa3e99e24c3234b6f3f19169939d4cd498d0ce36) Signed-off-by: Alejandro Hernandez Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../target/arch/layer/recipes-example/example/example-recipe-0.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/lib/bsp') diff --git a/scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1.bb b/scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1.bb index 5fbf59443d..e534d36d14 100644 --- a/scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1.bb +++ b/scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1.bb @@ -14,7 +14,7 @@ SRC_URI = "file://helloworld.c" S = "${WORKDIR}" do_compile() { - ${CC} helloworld.c -o helloworld + ${CC} ${LDFLAGS} helloworld.c -o helloworld } do_install() { -- cgit v1.2.3-54-g00ecf