summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/ref-qa-checks.xml
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/ref-manual/ref-qa-checks.xml')
-rw-r--r--documentation/ref-manual/ref-qa-checks.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/documentation/ref-manual/ref-qa-checks.xml b/documentation/ref-manual/ref-qa-checks.xml
index 7eaeb7fa04..2747766a9e 100644
--- a/documentation/ref-manual/ref-qa-checks.xml
+++ b/documentation/ref-manual/ref-qa-checks.xml
@@ -467,11 +467,12 @@ 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 470 Typically, the way to solve this performance issue is to
471 to add "-fPIC" to the compiler command-line options. 471 add "-fPIC" or "-fpic" to the compiler command-line
472 options.
472 For example, given software that reads 473 For example, given software that reads
473 <link linkend='var-CFLAGS'><filename>CFLAGS</filename></link> 474 <link linkend='var-CFLAGS'><filename>CFLAGS</filename></link>
474 when you build it, you can add the following to your 475 when you build it, you could add the following to your
475 recipe: 476 recipe:
476 <literallayout class='monospaced'> 477 <literallayout class='monospaced'>
477 CFLAGS_append = " -fPIC " 478 CFLAGS_append = " -fPIC "