[toolchain] gcc: only enable/disable TLS support in final stage (closes: #6788)
[openwrt.git] / toolchain / gcc / Config.in
1 # Choose gcc version.
2
3 choice
4 prompt "GCC compiler Version" if TOOLCHAINOPTS
5 default GCC_VERSION_3_4_6 if LINUX_2_4
6 default GCC_VERSION_4_2_4 if avr32
7 default GCC_VERSION_4_3_3 if powerpc64
8 default GCC_VERSION_4_3_3 if TARGET_etrax
9 default GCC_VERSION_4_3_3 if TARGET_coldfire
10 default GCC_VERSION_4_3_4 if TARGET_gemini
11 default GCC_VERSION_4_4_1 if ubicom32
12 default GCC_VERSION_4_3_3_CS if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte)
13 default GCC_VERSION_4_3_3_CS if (arm || armeb) && !TARGET_gemini
14 default GCC_VERSION_4_4_3 if powerpc
15 default GCC_VERSION_4_4_3 if (TARGET_octeon || TARGET_sibyte)
16 default GCC_VERSION_4_1_2
17 help
18 Select the version of gcc you wish to use.
19
20 config GCC_VERSION_3_4_6
21 bool "gcc 3.4.6"
22
23 if !LINUX_2_4
24 config GCC_VERSION_4_1_2
25 bool "gcc 4.1.2"
26
27 config GCC_VERSION_4_2_4
28 bool "gcc 4.2.4"
29
30 config GCC_VERSION_4_3_3
31 bool "gcc 4.3.3"
32
33 config GCC_VERSION_4_3_4
34 bool "gcc 4.3.4"
35
36 config GCC_VERSION_4_4_1
37 bool "gcc 4.4.1"
38
39 config GCC_VERSION_4_4_2
40 bool "gcc 4.4.2"
41
42 config GCC_VERSION_4_4_3
43 bool "gcc 4.4.3"
44
45 config GCC_VERSION_LLVM
46 bool "llvm-gcc 4.2"
47 depends BROKEN
48
49 config GCC_VERSION_4_3_3_CS
50 bool "gcc 4.3.3 with CodeSourcery enhancements"
51
52 config GCC_VERSION_4_4_1_CS
53 bool "gcc 4.4.1 with CodeSourcery enhancements"
54 depends BROKEN
55
56 config GCC_VERSION_4_4_3_CS
57 bool "gcc 4.4.3 with CodeSourcery enhancements"
58 depends BROKEN
59
60 endif
61
62 endchoice
63
64 config GCC_USE_GRAPHITE
65 bool
66 prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
67 depends GCC_VERSION_4_4_1 || GCC_VERSION_4_4_2 || GCC_VERSION_4_4_3
68
69 config EXTRA_GCC_CONFIG_OPTIONS
70 string
71 prompt "Additional gcc configure options" if TOOLCHAINOPTS
72 default ""
73 help
74 Any additional gcc options you may want to include....
75
76 config SSP_SUPPORT
77 bool
78 depends !GCC_VERSION_3_4_6
79 prompt "Enable Stack-Smashing Protection support" if TOOLCHAINOPTS
80 default n
81 help
82 Enable Stack-Smashing Protection support
83
84 config TLS_SUPPORT
85 bool
86 depends !GCC_VERSION_3_4_6 && UCLIBC_VERSION_NPTL
87 prompt "Enable Thread-local storage (TLS) support" if TOOLCHAINOPTS
88 default n
89 help
90 Enable Thread-local storage support
91
92 config INSTALL_LIBSTDCPP
93 bool
94 prompt "Build/install c++ compiler and libstdc++?" if TOOLCHAINOPTS
95 default y
96 help
97 Build/install c++ compiler and libstdc++?
98
99 config INSTALL_LIBGCJ
100 bool
101 prompt "Build/install java compiler and GNU classpath ?" if TOOLCHAINOPTS
102 default n
103 help
104 Build/install java compiler and GNU classpath ?
This page took 0.049778 seconds and 5 git commands to generate.