]> Git Repo - buildroot-mgba.git/commitdiff
package/google-breakpad: needs C++17
authorFabrice Fontaine <[email protected]>
Sun, 3 Mar 2024 13:22:22 +0000 (14:22 +0100)
committerArnout Vandecappelle <[email protected]>
Sun, 7 Apr 2024 15:14:46 +0000 (17:14 +0200)
Fix the following build failure raised since commit
32c1fbad554d4c2bfbe56a652333195c8ae67904:

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

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

Signed-off-by: Fabrice Fontaine <[email protected]>
[Arnout: also update BR2_GOOGLE_BREAKPAD_ENABLE]
Signed-off-by: Arnout Vandecappelle <[email protected]>
Config.in
package/google-breakpad/Config.in
package/sentry-native/Config.in

index 113adf07557522523cf587d33a518c2e2eb77331..e4f58f3f6664e0893f77d391a951a63c6948b8d2 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -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
index 5c7f4bb7baaaa18830600467ab07d1fcd5e69c6b..4e2d98eb0494d6d2718cd31d054c380dfdcd5cff 100644 (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
index 7a3cbd36ad1f6ac13231a72deac6a74febcea61a..88db2779f1e4a861c12522b38294a44075ded41d 100644 (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
This page took 0.04091 seconds and 4 git commands to generate.