diff options
Diffstat (limited to 'documentation/ref-manual/qa-checks.rst')
-rw-r--r-- | documentation/ref-manual/qa-checks.rst | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/documentation/ref-manual/qa-checks.rst b/documentation/ref-manual/qa-checks.rst index 79d2d4266a..9cc4c577c7 100644 --- a/documentation/ref-manual/qa-checks.rst +++ b/documentation/ref-manual/qa-checks.rst | |||
@@ -221,8 +221,7 @@ Errors and Warnings | |||
221 | Typically, the way to solve this performance issue is to add "-fPIC" | 221 | Typically, the way to solve this performance issue is to add "-fPIC" |
222 | or "-fpic" to the compiler command-line options. For example, given | 222 | or "-fpic" to the compiler command-line options. For example, given |
223 | software that reads :term:`CFLAGS` when you build it, | 223 | software that reads :term:`CFLAGS` when you build it, |
224 | you could add the following to your recipe: | 224 | you could add the following to your recipe:: |
225 | :: | ||
226 | 225 | ||
227 | CFLAGS_append = " -fPIC " | 226 | CFLAGS_append = " -fPIC " |
228 | 227 | ||
@@ -240,8 +239,7 @@ Errors and Warnings | |||
240 | variable is being passed to the linker command. A common workaround | 239 | variable is being passed to the linker command. A common workaround |
241 | for this situation is to pass in ``LDFLAGS`` using | 240 | for this situation is to pass in ``LDFLAGS`` using |
242 | :term:`TARGET_CC_ARCH` within the recipe as | 241 | :term:`TARGET_CC_ARCH` within the recipe as |
243 | follows: | 242 | follows:: |
244 | :: | ||
245 | 243 | ||
246 | TARGET_CC_ARCH += "${LDFLAGS}" | 244 | TARGET_CC_ARCH += "${LDFLAGS}" |
247 | 245 | ||
@@ -265,8 +263,7 @@ Errors and Warnings | |||
265 | 263 | ||
266 | The ``/usr/share/info/dir`` should not be packaged. Add the following | 264 | The ``/usr/share/info/dir`` should not be packaged. Add the following |
267 | line to your :ref:`ref-tasks-install` task or to your | 265 | line to your :ref:`ref-tasks-install` task or to your |
268 | ``do_install_append`` within the recipe as follows: | 266 | ``do_install_append`` within the recipe as follows:: |
269 | :: | ||
270 | 267 | ||
271 | rm ${D}${infodir}/dir | 268 | rm ${D}${infodir}/dir |
272 | 269 | ||