diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-10-24 13:05:07 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-10-24 13:05:07 +0000 |
commit | 0678ef76099904d10cb2f6786d6826548b73ec46 (patch) | |
tree | 9eef07672de131033375903ee3aec25fdcd822ba | |
parent | 4afb91a12f2e910682f54200830f09d4b3357783 (diff) | |
download | upstream-0678ef76099904d10cb2f6786d6826548b73ec46.tar.gz upstream-0678ef76099904d10cb2f6786d6826548b73ec46.tar.bz2 upstream-0678ef76099904d10cb2f6786d6826548b73ec46.zip |
hide C++ standard library selection behind INSTALL_LIBSTDCPP
If our toolchain is not configured to support C++, it is pointless choosing
a particular C++ standard library implementation.
SVN-Revision: 33907
-rw-r--r-- | Config.in | 25 |
1 files changed, 13 insertions, 12 deletions
@@ -549,20 +549,21 @@ menu "Global build settings" Note that this will make the system libraries incompatible with most of the packages that are not selected during the build process - choice - prompt "Preferred standard C++ library" - default USE_LIBSTDCXX if USE_EGLIBC - default USE_UCLIBCXX - help - Select the preferred standard C++ library for all packages that support this. - - config USE_UCLIBCXX - bool "uClibc++" + if INSTALL_LIBSTDCPP + choice + prompt "Preferred standard C++ library" + default USE_LIBSTDCXX if USE_EGLIBC + default USE_UCLIBCXX + help + Select the preferred standard C++ library for all packages that support this. - config USE_LIBSTDCXX - bool "libstdc++" + config USE_UCLIBCXX + bool "uClibc++" - endchoice + config USE_LIBSTDCXX + bool "libstdc++" + endchoice + endif endmenu |