aboutsummaryrefslogtreecommitdiff
path: root/package/gcc/Config.in.host
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-09-02 18:06:32 +0200
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2013-09-15 22:58:03 +0200
commit8e12e0a17a41a9988da2e239374385ad1c887f37 (patch)
tree1bfc343b3a90efe859870e6785600ce03a69d0ca /package/gcc/Config.in.host
parentcd04552e899a195fb7dc1811d66bc2fc7d4ce930 (diff)
downloadbuildroot-8e12e0a17a41a9988da2e239374385ad1c887f37.tar.gz
buildroot-8e12e0a17a41a9988da2e239374385ad1c887f37.tar.bz2
gcc: move C++ support option next to Fortran/Objective-C
The option to enable C++ support was still located in toolchain/toolchain-buildroot/Config.in.2, with misc other toolchain options. It seems more logical to have this option with the other options to select the languages supported by the cross-compiler, so we move it next to the Fortran/Objective-C options in package/gcc/Config.in.host. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/gcc/Config.in.host')
-rw-r--r--package/gcc/Config.in.host13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index a7dbbb629b..dbf0f204fb 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -112,6 +112,19 @@ config BR2_EXTRA_GCC_CONFIG_OPTIONS
include. Those options are applied for all of the gcc
initial, gcc intermediate and gcc final passes.
+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_INSTALL_OBJC
bool "Enable Objective-C support"
depends on !BR2_avr32