From aef70c3fff28681018b9f61ca86948fe0b3cd9dc Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 2 Jul 2022 16:32:25 -0700 Subject: geos: Disable inlining MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes build errors ( especially for arm arch ) | /mnt/b/yoe/master/build/tmp/work/cortexa15t2hf-neon-yoe-linux-musleabi/geos/3.9.3-r0/recipe-sysroot-native/usr/bin/arm-yoe-linux-musleabi/arm-yoe-linux-musleabi-ld: noding/.libs/libnoding.a(BasicSegmentString.o):(.data.rel.ro+0x24): multiple definition of `typeinfo for geos::noding::BasicSegmentString'; .libs/inlines.o:(.data.rel.ro+0xac): first defined here | /mnt/b/yoe/master/build/tmp/work/cortexa15t2hf-neon-yoe-linux-musleabi/geos/3.9.3-r0/recipe-sysroot-native/usr/bin/arm-yoe-linux-musleabi/arm-yoe-linux-musleabi-ld: noding/.libs/libnoding.a(BasicSegmentString.o):(.rodata+0x0): multiple definition of `t ypeinfo name for geos::noding::BasicSegmentString'; .libs/inlines.o:(.rodata+0x4c): first defined here Signed-off-by: Khem Raj Cc: Zoltán Böszörményi --- meta-oe/recipes-navigation/geos/geos.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-oe/recipes-navigation') diff --git a/meta-oe/recipes-navigation/geos/geos.inc b/meta-oe/recipes-navigation/geos/geos.inc index bfac69b09..484ca9154 100644 --- a/meta-oe/recipes-navigation/geos/geos.inc +++ b/meta-oe/recipes-navigation/geos/geos.inc @@ -9,6 +9,8 @@ SRC_URI = "http://download.osgeo.org/geos/geos-${PV}.tar.bz2" inherit autotools pkgconfig binconfig +EXTRA_OECONF += "--enable-inline=no" + PACKAGES =+ "geoslib ${PN}-c1" DESCRIPTION:${PN}lib = "Geometry engine for Geographic Information Systems - C++ Library" -- cgit v1.2.3-54-g00ecf