package/osm2pgsql: only supports 64 bits

osm2pgsql only supports 64 bits architectures since bump to version
1.10.0 in commit e056aeeca9 and
389904269a
resulting in the following build failure with arm:

CMake Error at CMakeLists.txt:20 (message):
  osm2pgsql needs a 64 bit architecture

Fixes: e056aeeca9
 - http://autobuild.buildroot.org/results/30c2675a732fd810c68dffbb6483f9cf8e4fcbf3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 3d8e92e318)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2024-03-17 23:00:28 +01:00 committed by Peter Korsgaard
parent 95b8e4bdf4
commit c9e64ea52b

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_OSM2PGSQL
bool "osm2pgsql"
depends on BR2_ARCH_IS_64
depends on BR2_INSTALL_LIBSTDCPP # boost, libosmium, protozero
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
depends on BR2_TOOLCHAIN_HAS_THREADS # boost, libosmium
@ -24,9 +25,11 @@ config BR2_PACKAGE_OSM2PGSQL
https://osm2pgsql.org
comment "osm2pgsql needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
depends on BR2_ARCH_IS_64
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_TOOLCHAIN_HAS_THREADS
comment "osm2pgsql needs a toolchain not affected by GCC bug 64735"
depends on BR2_ARCH_IS_64
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735