package/capnproto: require GCC 5 for C++14
authorJoel Carlson <joelsoncarl@gmail.com>
Mon, 9 Sep 2019 18:52:14 +0000 (12:52 -0600)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 10 Sep 2019 10:00:34 +0000 (12:00 +0200)
Adds dependency on at least GCC 5 to have C++14 language features that
are required starting in version 0.7.0 of capnproto.

Fixes:
http://autobuild.buildroot.org/results/5c09e745cab822d830f73e33647f3b0e765c9181
(capnproto build failure)

Fixes:
http://autobuild.buildroot.org/results/743c750e9932658c20965a25de89c3f21a1d43e9
(host-capnproto build failure)

This updated dependency is propagated to capnproto unique reverse
dependency, c-capnproto.

Signed-off-by: Koen Martens <gmc@sonologic.nl>
Signed-off-by: Joel Carlson <JoelsonCarl@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/c-capnproto/Config.in
package/capnproto/Config.in

index acad5a69c8719387a041abe64dc48cb5d104be30..293e4483cd1d26d6d618d3c8be97a2b1fa52d2f0 100644 (file)
@@ -1,8 +1,8 @@
 config BR2_PACKAGE_C_CAPNPROTO
        bool "c-capnproto"
        depends on BR2_USE_MMU # capnproto
-       depends on BR2_HOST_GCC_AT_LEAST_4_8 # capnproto
-       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # capnproto
+       depends on BR2_HOST_GCC_AT_LEAST_5 # capnproto
+       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # capnproto
        depends on BR2_INSTALL_LIBSTDCPP # capnproto
        depends on BR2_TOOLCHAIN_HAS_THREADS # capnproto
        depends on BR2_TOOLCHAIN_HAS_ATOMIC # capnproto
@@ -12,10 +12,10 @@ config BR2_PACKAGE_C_CAPNPROTO
          plugin for C. Requires regular Cap'n Proto and only
          provides serialization (no RPC).
 
-comment "c-capnproto needs host and target gcc >= 4.8 w/ C++, threads, atomic"
+comment "c-capnproto needs host and target gcc >= 5 w/ C++14, threads, atomic"
        depends on BR2_USE_MMU
-       depends on!BR2_HOST_GCC_AT_LEAST_4_8 || \
-               !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
+       depends on!BR2_HOST_GCC_AT_LEAST_5 || \
+               !BR2_TOOLCHAIN_GCC_AT_LEAST_5 || \
                !BR2_INSTALL_LIBSTDCPP || \
                !BR2_TOOLCHAIN_HAS_THREADS || \
                !BR2_TOOLCHAIN_HAS_ATOMIC
index a979a334fffdb934c2b42b543edf190b17fe7d08..cd9cb647af69c29cb0b3dbcd5e508359061e4adf 100644 (file)
@@ -1,8 +1,8 @@
 config BR2_PACKAGE_CAPNPROTO
        bool "capnproto"
        depends on BR2_USE_MMU
-       depends on BR2_HOST_GCC_AT_LEAST_4_8 # C++11
-       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
+       depends on BR2_HOST_GCC_AT_LEAST_5 # C++14
+       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_TOOLCHAIN_HAS_ATOMIC
@@ -15,10 +15,10 @@ config BR2_PACKAGE_CAPNPROTO
 
          https://capnproto.org/index.html
 
-comment "capnproto needs host and target gcc >= 4.8 w/ C++, threads, atomic"
+comment "capnproto needs host and target gcc >= 5 w/ C++14, threads, atomic"
        depends on BR2_USE_MMU
-       depends on !BR2_HOST_GCC_AT_LEAST_4_8 || \
-               !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
+       depends on !BR2_HOST_GCC_AT_LEAST_5 || \
+               !BR2_TOOLCHAIN_GCC_AT_LEAST_5 || \
                !BR2_INSTALL_LIBSTDCPP || \
                !BR2_TOOLCHAIN_HAS_THREADS || \
                !BR2_TOOLCHAIN_HAS_ATOMIC