package/google-breakpad: needs C++17

Fix the following build failure raised since commit
32c1fbad55:

configure: error: *** A compiler with support for C++17 language features is required.

Fixes: 32c1fbad55
 - http://autobuild.buildroot.org/results/451bae7151a74cbcb5d199b8516e9c255a0953fe

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Arnout: also update BR2_GOOGLE_BREAKPAD_ENABLE]
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2024-03-03 14:22:22 +01:00 committed by Arnout Vandecappelle
parent 50d3a1f73a
commit 109362c904
3 changed files with 7 additions and 7 deletions

View File

@ -586,7 +586,7 @@ config BR2_ENABLE_LTO
config BR2_GOOGLE_BREAKPAD_ENABLE
bool "Enable google-breakpad support"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
depends on BR2_USE_WCHAR
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_USES_GLIBC

View File

@ -6,7 +6,7 @@ config BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
config BR2_PACKAGE_GOOGLE_BREAKPAD
bool "google-breakpad"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
depends on BR2_USE_WCHAR
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_USES_GLIBC
@ -45,10 +45,10 @@ config BR2_PACKAGE_GOOGLE_BREAKPAD_TOOLS
endif
comment "google-breakpad requires a glibc toolchain w/ wchar, thread, C++, gcc >= 4.8"
comment "google-breakpad requires a glibc toolchain w/ wchar, threads, C++, gcc >= 7"
depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
depends on BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
!BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_USES_GLIBC || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
!BR2_TOOLCHAIN_GCC_AT_LEAST_7

View File

@ -1,7 +1,7 @@
config BR2_PACKAGE_SENTRY_NATIVE
bool "sentry-native"
depends on BR2_INSTALL_LIBSTDCPP # google-breakpad
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # google-breakpad
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # google-breakpad
depends on BR2_USE_WCHAR # google-breakpad
depends on BR2_TOOLCHAIN_HAS_THREADS # google-breakpad
# google-breakpad is restricted to glibc or uClibc, but
@ -19,10 +19,10 @@ config BR2_PACKAGE_SENTRY_NATIVE
https://github.com/getsentry/sentry-native
comment "sentry-native needs a glibc toolchain with w/ wchar, thread, C++, gcc >= 4.8"
comment "sentry-native needs a glibc toolchain with w/ wchar, threads, C++, gcc >= 7"
depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
depends on BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
!BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_USES_GLIBC || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
!BR2_TOOLCHAIN_GCC_AT_LEAST_7