kumquat-buildroot/package/sentry-native/Config.in
Fabrice Fontaine eb80cd6563 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>
(cherry picked from commit 109362c904)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-02 13:19:46 +02:00

29 lines
1.2 KiB
Plaintext

config BR2_PACKAGE_SENTRY_NATIVE
bool "sentry-native"
depends on BR2_INSTALL_LIBSTDCPP # 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
# sentry-native needs <execinfo.h>, so it restricts further to
# just glibc.
depends on BR2_TOOLCHAIN_USES_GLIBC
depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS # google-breakpad
depends on BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS # google-breakpad
select BR2_PACKAGE_GOOGLE_BREAKPAD
select BR2_PACKAGE_LIBCURL
help
The Sentry Native SDK is an error and crash
reporting client for native applications,
optimized for C and C++.
https://github.com/getsentry/sentry-native
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_7