From: Scott Rifenbark Date: Mon, 27 Apr 2015 17:10:40 +0000 (-0700) Subject: ref-manual: Updated the ELF Binary QA warning message X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=515a8b790e08a48aaf64a6b7237e2b39390e35f6;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/documentation/ref-manual/ref-qa-checks.xml b/documentation/ref-manual/ref-qa-checks.xml index 54cd4336eb1..e0e8e7f06e5 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. 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 CFLAGS - when you build it, you can add the following to your + when you build it, you could add the following to your recipe: CFLAGS_append = " -fPIC "