Skip to content
Snippets Groups Projects
Commit 64b26513 authored by florian's avatar florian
Browse files

[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
parent ac3d47a7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment