summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/ref-qa-checks.rst
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/ref-manual/ref-qa-checks.rst')
-rw-r--r--documentation/ref-manual/ref-qa-checks.rst17
1 files changed, 12 insertions, 5 deletions
diff --git a/documentation/ref-manual/ref-qa-checks.rst b/documentation/ref-manual/ref-qa-checks.rst
index a56de690b1..3e76ac1509 100644
--- a/documentation/ref-manual/ref-qa-checks.rst
+++ b/documentation/ref-manual/ref-qa-checks.rst
@@ -209,7 +209,10 @@ Errors and Warnings
209 Typically, the way to solve this performance issue is to add "-fPIC" 209 Typically, the way to solve this performance issue is to add "-fPIC"
210 or "-fpic" to the compiler command-line options. For example, given 210 or "-fpic" to the compiler command-line options. For example, given
211 software that reads :term:`CFLAGS` when you build it, 211 software that reads :term:`CFLAGS` when you build it,
212 you could add the following to your recipe: CFLAGS_append = " -fPIC " 212 you could add the following to your recipe:
213 ::
214
215 CFLAGS_append = " -fPIC "
213 216
214 For more information on text relocations at runtime, see 217 For more information on text relocations at runtime, see
215 http://www.akkadia.org/drepper/textrelocs.html. 218 http://www.akkadia.org/drepper/textrelocs.html.
@@ -224,7 +227,10 @@ Errors and Warnings
224 variable is being passed to the linker command. A common workaround 227 variable is being passed to the linker command. A common workaround
225 for this situation is to pass in ``LDFLAGS`` using 228 for this situation is to pass in ``LDFLAGS`` using
226 :term:`TARGET_CC_ARCH` within the recipe as 229 :term:`TARGET_CC_ARCH` within the recipe as
227 follows: TARGET_CC_ARCH += "${LDFLAGS}" 230 follows:
231 ::
232
233 TARGET_CC_ARCH += "${LDFLAGS}"
228 234
229   235  
230 236
@@ -244,10 +250,11 @@ Errors and Warnings
244 250
245 The ``/usr/share/info/dir`` should not be packaged. Add the following 251 The ``/usr/share/info/dir`` should not be packaged. Add the following
246 line to your :ref:`ref-tasks-install` task or to your 252 line to your :ref:`ref-tasks-install` task or to your
247 ``do_install_append`` within the recipe as follows: rm 253 ``do_install_append`` within the recipe as follows:
248 ${D}${infodir}/dir 254 ::
249 255
250   256 rm ${D}${infodir}/dir
257  
251 258
252- ``Symlink <path> in <packagename> points to TMPDIR [symlink-to-sysroot]`` 259- ``Symlink <path> in <packagename> points to TMPDIR [symlink-to-sysroot]``
253 260