From: Alejandro Hernandez Date: Tue, 13 Dec 2016 16:41:12 +0000 (-0600) Subject: example-recipe: Fix LDFLAGS compilation issue on newly created recipes X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9d4a69fd0de8fc52fa80ea14a437ad5d0e368d84;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- 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 5fbf59443d9..e534d36d14f 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() {