From 809e18f01025c446df316ecd32a9b6c434534cee Mon Sep 17 00:00:00 2001 From: Andreas Müller Date: Thu, 17 Sep 2015 01:07:52 +0200 Subject: gimp: fix compile in latest environment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Martin Jansa --- 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 efeb575a79..b897816b5a 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" -- cgit v1.2.3-54-g00ecf