diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-07-08 17:59:53 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-07-08 23:10:29 +0200 |
commit | 748b45ab5740d9e5e4791e298a5f7ba3699932d5 (patch) | |
tree | 96dacb8cca5ce56173ce20c2f6df4a39d61f5c96 | |
parent | cd3444683558e162361632dcd967509c0372b3d2 (diff) | |
download | buildroot-novena-748b45ab5740d9e5e4791e298a5f7ba3699932d5.tar.gz buildroot-novena-748b45ab5740d9e5e4791e298a5f7ba3699932d5.zip |
toolchain: disable C++ support on AVR32 gcc 4.2 with uClibc
In 25c3160092d7 ("uClibc 0.9.31: remove stray kludges/conditions"), a
conditional that prevents the combination gcc 4.2-avr / C++ / locale
with uClibc 0.9.31 was removed. However, it turns out that the same
problem is affecting uClibc 0.9.33, described at
http://comments.gmane.org/gmane.comp.lib.uclibc.buildroot/24260.
Therefore, we prevent the combination of gcc 4.2-avr / C++ / locale to
happen.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r-- | toolchain/toolchain-buildroot/Config.in.2 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/toolchain/toolchain-buildroot/Config.in.2 b/toolchain/toolchain-buildroot/Config.in.2 index 9bbf01696..e223d9d40 100644 --- a/toolchain/toolchain-buildroot/Config.in.2 +++ b/toolchain/toolchain-buildroot/Config.in.2 @@ -7,11 +7,16 @@ comment "Toolchain Options" config BR2_TOOLCHAIN_BUILDROOT_CXX bool "Enable C++ support" select BR2_INSTALL_LIBSTDCPP + depends on !(BR2_GCC_VERSION_4_2_2_AVR32_2_1_5 && \ + BR2_TOOLCHAIN_BUILDROOT_LOCALE) help Enable this option if you want your toolchain to support the C++ language and you want C++ libraries to be installed on your target system. +comment "C++ support broken in uClibc with locale enabled with gcc 4.2" + depends on BR2_GCC_VERSION_4_2_2_AVR32_2_1_5 && BR2_TOOLCHAIN_BUILDROOT_LOCALE + config BR2_TOOLCHAIN_BUILDROOT_USE_SSP bool "Enable stack protection support" help |