2c592a904b72e5bf786b03ed3a532be93ff40c70
[openwrt/staging/wigyori.git] / toolchain / gcc / Config.in
1 # Choose gcc version.
2
3 choice
4 prompt "GCC compiler Version" if TOOLCHAINOPTS
5 default GCC_USE_VERSION_8 if arc
6 default GCC_USE_VERSION_7
7 help
8 Select the version of gcc you wish to use.
9
10 config GCC_USE_VERSION_5
11 bool "gcc 5.x"
12 depends on !arc
13
14 config GCC_USE_VERSION_7
15 bool "gcc 7.x"
16 depends on !arc
17
18 config GCC_USE_VERSION_8
19 bool "gcc 8.x"
20
21 config GCC_USE_VERSION_9
22 bool "gcc 9.x"
23 endchoice
24
25 config GCC_USE_IREMAP
26 default y if ( GCC_USE_VERSION_5 || GCC_USE_VERSION_7 )
27 default n
28 bool
29
30 config GCC_USE_GRAPHITE
31 bool
32 prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
33
34 config EXTRA_GCC_CONFIG_OPTIONS
35 string
36 prompt "Additional gcc configure options" if TOOLCHAINOPTS
37 default ""
38 help
39 Any additional gcc options you may want to include....
40
41 config GCC_DEFAULT_PIE
42 bool
43 prompt "Build executable with PIE enabled by default" if TOOLCHAINOPTS
44 depends on !GCC_USE_VERSION_5
45 default n
46 help
47 Use gcc configure option --enable-default-pie to turn on -fPIE and -pie by default.
48
49 config GCC_DEFAULT_SSP
50 bool
51 prompt "Build executable with Stack-Smashing Protection enabled by default" if TOOLCHAINOPTS
52 default n
53 help
54 Use gcc configure option --enable-default-ssp to turn on -fstack-protector-strong by default.
55
56 config GCC_LIBSSP
57 bool
58 prompt "Build gcc libssp" if TOOLCHAINOPTS
59 depends on !USE_MUSL
60 default y if !USE_MUSL
61 help
62 Enable Stack-Smashing Protection support
63
64 config SJLJ_EXCEPTIONS
65 bool
66 prompt "Use setjump()/longjump() exceptions" if TOOLCHAINOPTS
67 default n
68 help
69 Use old setjump()/longjump() exceptions instead of the newer
70 frame unwinding exceptions handling routines. Warning: increases
71 code size and runtime memory usage.
72
73 config INSTALL_GFORTRAN
74 bool
75 prompt "Build/install fortran compiler?" if TOOLCHAINOPTS
76 default n
77 help
78 Build/install GNU fortran compiler ?
79
80 config INSTALL_GCCGO
81 bool
82 prompt "Build/install Go compiler?" if TOOLCHAINOPTS
83 depends on USE_GLIBC || BROKEN
84 default n
85 help
86 Build/install GNU gccgo compiler ?