diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2015-04-27 10:10:40 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-28 16:30:46 +0100 |
commit | 515a8b790e08a48aaf64a6b7237e2b39390e35f6 (patch) | |
tree | b215f9e81af01c352481166d4d1f540a811ac872 /documentation | |
parent | 6e4a1a093661722aeaf5ca132eee5befaae95ff0 (diff) | |
download | poky-515a8b790e08a48aaf64a6b7237e2b39390e35f6.tar.gz |
ref-manual: Updated the ELF Binary QA warning message
Fixes [YOCTO #7630]
I applied some feedback from Laszlo Papp suggesting that the user
can also use '-fpic' as well as '-fPIC' for a command-line option.
(From yocto-docs rev: ec79c9a39955b22cb2b8cec44ffcaab22aba479b)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/ref-qa-checks.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/documentation/ref-manual/ref-qa-checks.xml b/documentation/ref-manual/ref-qa-checks.xml index 54cd4336eb..e0e8e7f06e 100644 --- a/documentation/ref-manual/ref-qa-checks.xml +++ b/documentation/ref-manual/ref-qa-checks.xml | |||
@@ -468,10 +468,11 @@ can be found then it should be implemented. I can't find one at the moment. | |||
468 | 468 | ||
469 | <para> | 469 | <para> |
470 | Typically, the way to solve this performance issue is to | 470 | Typically, the way to solve this performance issue is to |
471 | 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 " |