From f366ff2c03885f0ac17415dfbc8f25b2b760b841 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: 750ff4d3203f358595df8d10cc57e8d63a9fef4a) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-qa-checks.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'documentation') diff --git a/documentation/ref-manual/ref-qa-checks.xml b/documentation/ref-manual/ref-qa-checks.xml index 7eaeb7fa04..2747766a9e 100644 --- a/documentation/ref-manual/ref-qa-checks.xml +++ b/documentation/ref-manual/ref-qa-checks.xml @@ -467,11 +467,12 @@ 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. + Typically, the way to solve this performance issue is to + 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