gcc: disable C++ support for Blackfin
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 10 Aug 2016 12:54:47 +0000 (14:54 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 10 Aug 2016 12:54:47 +0000 (14:54 +0200)
As discussed with Waldemar, the C++ support for Blackfin is currently
broken, and we don't have a fix in sight for the 2016.08
release. Therefore, this commit disables C++ support entirely on the
Blackfin architecture in the internal toolchain backend.

This will avoid a significant number of Blackfin build failures, that
occur when building C++ packages.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gcc/Config.in.host

index 2b54959d0ea3d97464a33fd28ccc11239036c639..761a7495b0de6aba0cc7c8243aff4eaeb4baa0a5 100644 (file)
@@ -120,6 +120,9 @@ config BR2_EXTRA_GCC_CONFIG_OPTIONS
 config BR2_TOOLCHAIN_BUILDROOT_CXX
        bool "Enable C++ support"
        select BR2_INSTALL_LIBSTDCPP
+       # C++ support currently broken for Blackfin, under
+       # investigation.
+       depends on !BR2_bfin
        help
          Enable this option if you want your toolchain to support the
          C++ language and you want C++ libraries to be installed on