diff options
Diffstat (limited to 'documentation/ref-manual/ref-qa-checks.xml')
-rw-r--r-- | documentation/ref-manual/ref-qa-checks.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-qa-checks.xml b/documentation/ref-manual/ref-qa-checks.xml index 43cb26db4c..54cd4336eb 100644 --- a/documentation/ref-manual/ref-qa-checks.xml +++ b/documentation/ref-manual/ref-qa-checks.xml | |||
@@ -467,6 +467,23 @@ can be found then it should be implemented. I can't find one at the moment. | |||
467 | </para> | 467 | </para> |
468 | 468 | ||
469 | <para> | 469 | <para> |
470 | Typically, the way to solve this performance issue is to | ||
471 | add "-fPIC" to the compiler command-line options. | ||
472 | For example, given software that reads | ||
473 | <link linkend='var-CFLAGS'><filename>CFLAGS</filename></link> | ||
474 | when you build it, you can add the following to your | ||
475 | recipe: | ||
476 | <literallayout class='monospaced'> | ||
477 | CFLAGS_append = " -fPIC " | ||
478 | </literallayout> | ||
479 | </para> | ||
480 | |||
481 | <para> | ||
482 | For more information on text relocations at runtime, see | ||
483 | <ulink url='http://www.akkadia.org/drepper/textrelocs.html'></ulink>. | ||
484 | </para> | ||
485 | |||
486 | <para> | ||
470 | | 487 | |
471 | </para> | 488 | </para> |
472 | </listitem> | 489 | </listitem> |