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>
This commit is contained in:
Scott Rifenbark 2015-04-27 10:10:40 -07:00 committed by Richard Purdie
parent 6e4a1a0936
commit 515a8b790e
1 changed files with 3 additions and 2 deletions

View File

@ -468,10 +468,11 @@ can be found then it should be implemented. I can't find one at the moment.
<para>
Typically, the way to solve this performance issue is to
add "-fPIC" to the compiler command-line options.
add "-fPIC" or "-fpic" to the compiler command-line
options.
For example, given software that reads
<link linkend='var-CFLAGS'><filename>CFLAGS</filename></link>
when you build it, you can add the following to your
when you build it, you could add the following to your
recipe:
<literallayout class='monospaced'>
CFLAGS_append = " -fPIC "