]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
example-recipe: Fix LDFLAGS compilation issue on newly created recipes
authorAlejandro Hernandez <alejandro.hernandez@linux.intel.com>
Tue, 13 Dec 2016 16:41:12 +0000 (10:41 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Dec 2016 08:53:03 +0000 (08:53 +0000)
(From meta-yocto rev: aa3e99e24c3234b6f3f19169939d4cd498d0ce36)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1.bb

index 5fbf59443d940b3f15066e538c912b092247f2f4..e534d36d14fa7efe0bedd0321420eec87b1de021 100644 (file)
@@ -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() {