fixes:
ld: error: file_ico-ico-load.o: requires unsupported dynamic reloc 
R_ARM_THM_MOVW_ABS_NC; recompile with -fPIC
ld: error: file_ico-ico-save.o: requires unsupported dynamic reloc 
R_ARM_THM_MOVW_ABS_NC; recompile with -fPIC

Signed-off-by: Andreas Müller <[email protected]>
---
 meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb 
b/meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb
index efeb575..b897816 100644
--- a/meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb
+++ b/meta-oe/recipes-graphics/gimp/gimp_2.8.14.bb
@@ -25,5 +25,7 @@ do_configure_append() {
     find ${B} -name Makefile | xargs sed -i 
s:'-I/usr/include':'-I${STAGING_INCDIR}':g
 }
 
+CFLAGS += "-fPIC"
+
 FILES_${PN}-dbg += "${libdir}/gimp/2.0/*/.debug"
 FILES_${PN}  += "${datadir}/appdata"
-- 
2.1.0

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to