diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2021-01-12 19:46:00 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-15 13:39:48 +0000 |
| commit | 87e7057b71fdd0f084c0b7e3396067bea0eb3d24 (patch) | |
| tree | 9a1e505a237f1ae285bf606791531f216a4a565d /documentation/ref-manual/examples/hello-single | |
| parent | 827e68675ab3c1a541a5aa10586902226e876e51 (diff) | |
| download | poky-87e7057b71fdd0f084c0b7e3396067bea0eb3d24.tar.gz | |
common-tasks.rst: Fix GNU_HASH in hello.bb
Fix the following GNU_HASH issue in "Single .c File Package
(Hello World!)" example:
ERROR: hello-1.0-r0 do_package_qa: QA Issue: File /usr/bin/helloworld in package hello doesn't have GNU_HASH (didn't pass LDFLAGS?) [ldflags]
Reported-by: Matthew Tsenkov <matthew.tsenkov@konsulko.com>
(From yocto-docs rev: 99a53f443193c0becd48a07a2dd740bb417dcf49)
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/examples/hello-single')
| -rw-r--r-- | documentation/ref-manual/examples/hello-single/hello.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/ref-manual/examples/hello-single/hello.bb b/documentation/ref-manual/examples/hello-single/hello.bb index 0812743e39..90d3aefd86 100644 --- a/documentation/ref-manual/examples/hello-single/hello.bb +++ b/documentation/ref-manual/examples/hello-single/hello.bb | |||
| @@ -8,7 +8,7 @@ SRC_URI = "file://helloworld.c" | |||
| 8 | S = "${WORKDIR}" | 8 | S = "${WORKDIR}" |
| 9 | 9 | ||
| 10 | do_compile() { | 10 | do_compile() { |
| 11 | ${CC} helloworld.c -o helloworld | 11 | ${CC} ${LDFLAGS} helloworld.c -o helloworld |
| 12 | } | 12 | } |
| 13 | 13 | ||
| 14 | do_install() { | 14 | do_install() { |
