[oe-commits] =?UTF-8?Q?Andreas=20M=C3=BCller=20?=: gimp: fix compile in latest environment

git at git.openembedded.org git at git.openembedded.org
Thu Sep 17 15:05:00 UTC 2015


Module: meta-openembedded.git
Branch: master-next
Commit: 5ea4b8ff5dfb60b2ddcffa3cbb05c65eded8eb2e
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=5ea4b8ff5dfb60b2ddcffa3cbb05c65eded8eb2e

Author: Andreas Müller <schnitzeltony at googlemail.com>
Date:   Thu Sep 17 01:07:52 2015 +0200

gimp: fix compile in latest environment

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 <schnitzeltony at googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 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"



More information about the Openembedded-commits mailing list