package/libcamera: needs gcc >= 8

libcamera needs gcc >= 8 since bump to
8a845ab078c3fe12ac4edd16c8cbac5b7ec03b98 in commit
64f67ede01 and
https://git.libcamera.org/libcamera/libcamera.git/commit/?id=a7ab5ef1d2f9b05056db450e631a99a73382d589:

../output-1/build/libcamera-ba6435930f08e802cffc688d90f156a8959a0f86/meson.build:82:8: ERROR: Problem encountered: gcc version is too old, libcamera requires 8.0 or newer

Fixes:
 - http://autobuild.buildroot.org/results/f8eba0e564d03b83fcda4085baec16a4857c7d25

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine 2022-08-27 22:35:57 +02:00 committed by Yann E. MORIN
parent 96f50e65f3
commit 204002f672
2 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@ config BR2_PACKAGE_LIBCAMERA_APPS
depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS # libcamera
depends on BR2_INSTALL_LIBSTDCPP # libcamera/boost
depends on BR2_TOOLCHAIN_HAS_THREADS # libcamera/boost
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17/libcamera
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # libcamera
depends on !BR2_STATIC_LIBS # gnutls/libcamera
depends on BR2_USE_WCHAR # gnutls/libcamera/boost
select BR2_PACKAGE_BOOST
@ -24,7 +24,7 @@ config BR2_PACKAGE_LIBCAMERA_APPS
https://github.com/raspberrypi/libcamera-apps
comment "libcamera-apps needs a toolchain w/ C++, threads, wchar, dynamic library, gcc >= 7"
comment "libcamera-apps needs a toolchain w/ C++, threads, wchar, dynamic library, gcc >= 8"
depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || BR2_STATIC_LIBS || !BR2_USE_WCHAR
!BR2_TOOLCHAIN_GCC_AT_LEAST_8 || BR2_STATIC_LIBS || !BR2_USE_WCHAR

View File

@ -10,7 +10,7 @@ menuconfig BR2_PACKAGE_LIBCAMERA
depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # C++17
depends on !BR2_STATIC_LIBS # gnutls
depends on BR2_USE_WCHAR # gnutls
select BR2_PACKAGE_GNUTLS
@ -92,7 +92,7 @@ comment "lc-compliance test application needs a toolchain w/ C++, wchar, threads
endif # BR2_PACKAGE_LIBCAMERA
comment "libcamera needs a toolchain w/ C++, threads, wchar, dynamic library, gcc >= 7"
comment "libcamera needs a toolchain w/ C++, threads, wchar, dynamic library, gcc >= 8"
depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || BR2_STATIC_LIBS || !BR2_USE_WCHAR
!BR2_TOOLCHAIN_GCC_AT_LEAST_8 || BR2_STATIC_LIBS || !BR2_USE_WCHAR