mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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: 750ff4d3203f358595df8d10cc57e8d63a9fef4a) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
320a2206e0
commit
f366ff2c03
@@ -467,11 +467,12 @@ can be found then it should be implemented. I can't find one at the moment.
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Typically, the way to solve this performance issue is
|
Typically, the way to solve this performance issue is to
|
||||||
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
|
For example, given software that reads
|
||||||
<link linkend='var-CFLAGS'><filename>CFLAGS</filename></link>
|
<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:
|
recipe:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
CFLAGS_append = " -fPIC "
|
CFLAGS_append = " -fPIC "
|
||||||
|
|||||||
Reference in New Issue
Block a user