1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 23:32:49 +02:00

[buildroot] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33907 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2012-10-24 13:05:07 +00:00
parent ac3d47a751
commit 64b2651354

View File

@ -549,20 +549,21 @@ menu "Global build settings"
Note that this will make the system libraries incompatible with most of the packages Note that this will make the system libraries incompatible with most of the packages
that are not selected during the build process that are not selected during the build process
choice if INSTALL_LIBSTDCPP
prompt "Preferred standard C++ library" choice
default USE_LIBSTDCXX if USE_EGLIBC prompt "Preferred standard C++ library"
default USE_UCLIBCXX default USE_LIBSTDCXX if USE_EGLIBC
help default USE_UCLIBCXX
Select the preferred standard C++ library for all packages that support this. help
Select the preferred standard C++ library for all packages that support this.
config USE_UCLIBCXX config USE_UCLIBCXX
bool "uClibc++" bool "uClibc++"
config USE_LIBSTDCXX config USE_LIBSTDCXX
bool "libstdc++" bool "libstdc++"
endchoice
endchoice endif
endmenu endmenu