summaryrefslogtreecommitdiffstats
path: root/rules/libcxx.in
blob: db6493222ef0e1c9fbef781ea65444ee67ea8540 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
# rules/libcxx.in
#

menu	"C++ Library         "

config CXX
	bool "C++ support"

choice
	depends on GLIBC || ( UCLIBC && GCC_3 )
	# FIXME: this is not really true...
	depends on CROSSTOOL

        bool "Which C++ library do you want to use?"
        	default LIBSTDCXX
		depends on CXX
	
	config LIBSTDCXX
 		bool "libstdc++"
		depends on GLIBC || ( UCLIBC && GCC_3 )
endchoice

config LIBSTDCXX_SHARED
	bool "Build and install shared library"
	default y
	depends on CXX && CROSSTOOL

config LIBSTDCXX_SHARED
	bool "Install shared library"
	default y
	depends on CXX && !CROSSTOOL

endmenu