diff options
-rw-r--r-- | documentation/dev-manual/common-tasks.rst | 2 | ||||
-rw-r--r-- | documentation/ref-manual/examples/hello-single/hello.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst index e1dee8ecdd..6281e0e3b4 100644 --- a/documentation/dev-manual/common-tasks.rst +++ b/documentation/dev-manual/common-tasks.rst | |||
@@ -2298,7 +2298,7 @@ directory BitBake uses for the build. | |||
2298 | S = "${WORKDIR}" | 2298 | S = "${WORKDIR}" |
2299 | 2299 | ||
2300 | do_compile() { | 2300 | do_compile() { |
2301 | ${CC} helloworld.c -o helloworld | 2301 | ${CC} ${LDFLAGS} helloworld.c -o helloworld |
2302 | } | 2302 | } |
2303 | 2303 | ||
2304 | do_install() { | 2304 | do_install() { |
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() { |