example-recipe: Fix LDFLAGS compilation issue on newly created recipes

(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>
This commit is contained in:
Alejandro Hernandez 2016-12-13 10:41:12 -06:00 committed by Richard Purdie
parent d09de75601
commit 9d4a69fd0d
1 changed files with 1 additions and 1 deletions

View 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() {