Skip to contentSkip to conversation

package/libgeos: disable inlining on arm

PATCH New Fabrice Fontaine 2 participants 2 messages Jan 24, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libgeos: disable inlining on arm

Disable inlining which raise build failures on arm.
It should be noted that inlining is already disabled by usptream on
arm64: https://github.com/libgeos/geos/issues/353

Fixes:
- http://autobuild.buildroot.org/results/52024b2ccc5d17612731809a5dabcc29a4a1170b

---
 package/libgeos/libgeos.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/libgeos/libgeos.mk +4 -0
index 7b4ace122d..d7905cbb21 100644
@@ -12,4 +12,8 @@ LIBGEOS_LICENSE_FILES = COPYING
 LIBGEOS_INSTALL_STAGING = YES
 LIBGEOS_CONFIG_SCRIPTS = geos-config
 
+ifeq ($(BR2_arm)$(BR2_armeb),y)
+LIBGEOS_CONF_OPTS += -DDISABLE_GEOS_INLINE=ON
+endif
+
 $(eval $(cmake-package))
Signature · 1 line
2.29.2
#1 lore raw

PATCH 1/1 package/libgeos: disable inlining on arm

Fabrice, All,

On 2021-01-24 14:49 +0100, Fabrice Fontaine spake thusly:

Quoted 8 lines

Disable inlining which raise build failures on arm.
It should be noted that inlining is already disabled by usptream on
arm64: https://github.com/libgeos/geos/issues/353

Fixes:
- http://autobuild.buildroot.org/results/52024b2ccc5d17612731809a5dabcc29a4a1170b

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 24 lines
---
 package/libgeos/libgeos.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/libgeos/libgeos.mk +4 -0
index 7b4ace122d..d7905cbb21 100644
@@ -12,4 +12,8 @@ LIBGEOS_LICENSE_FILES = COPYING
 LIBGEOS_INSTALL_STAGING = YES
 LIBGEOS_CONFIG_SCRIPTS = geos-config
 
+ifeq ($(BR2_arm)$(BR2_armeb),y)
+LIBGEOS_CONF_OPTS += -DDISABLE_GEOS_INLINE=ON
+endif
+
 $(eval $(cmake-package))
Signature · 6 lines
2.29.2

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'