From 515a8b790e08a48aaf64a6b7237e2b39390e35f6 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 27 Apr 2015 10:10:40 -0700 Subject: 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 --- documentation/ref-manual/ref-qa-checks.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'documentation/ref-manual/ref-qa-checks.xml') 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. 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 " -- cgit v1.2.3-54-g00ecf