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
This commit is contained in:
parent
4afb91a12f
commit
0678ef7609
1 changed files with 13 additions and 12 deletions
|
@ -549,6 +549,7 @@ 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
|
||||||
|
|
||||||
|
if INSTALL_LIBSTDCPP
|
||||||
choice
|
choice
|
||||||
prompt "Preferred standard C++ library"
|
prompt "Preferred standard C++ library"
|
||||||
default USE_LIBSTDCXX if USE_EGLIBC
|
default USE_LIBSTDCXX if USE_EGLIBC
|
||||||
|
@ -561,8 +562,8 @@ menu "Global build settings"
|
||||||
|
|
||||||
config USE_LIBSTDCXX
|
config USE_LIBSTDCXX
|
||||||
bool "libstdc++"
|
bool "libstdc++"
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
endif
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue