0977f9b4e725729dbb6ebae437aad3dfc00e33a0
[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_GRAPHITE
26 bool
27 prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
28
29 config EXTRA_GCC_CONFIG_OPTIONS
30 string
31 prompt "Additional gcc configure options" if TOOLCHAINOPTS
32 default ""
33 help
34 Any additional gcc options you may want to include....
35
36 config GCC_DEFAULT_PIE
37 bool
38 prompt "Build executable with PIE enabled by default" if TOOLCHAINOPTS
39 depends on !GCC_USE_VERSION_5
40 default n
41 help
42 Use gcc configure option --enable-default-pie to turn on -fPIE and -pie by default.
43
44 config GCC_DEFAULT_SSP
45 bool
46 prompt "Build executable with Stack-Smashing Protection enabled by default" if TOOLCHAINOPTS
47 default n
48 help
49 Use gcc configure option --enable-default-ssp to turn on -fstack-protector-strong by default.
50
51 config GCC_LIBSSP
52 bool
53 prompt "Build gcc libssp" if TOOLCHAINOPTS
54 depends on !USE_MUSL
55 default y if !USE_MUSL
56 help
57 Enable Stack-Smashing Protection support
58
59 config SJLJ_EXCEPTIONS
60 bool
61 prompt "Use setjump()/longjump() exceptions" if TOOLCHAINOPTS
62 default n
63 help
64 Use old setjump()/longjump() exceptions instead of the newer
65 frame unwinding exceptions handling routines. Warning: increases
66 code size and runtime memory usage.
67
68 config INSTALL_GFORTRAN
69 bool
70 prompt "Build/install fortran compiler?" if TOOLCHAINOPTS
71 default n
72 help
73 Build/install GNU fortran compiler ?
74
75 config INSTALL_GCCGO
76 bool
77 prompt "Build/install Go compiler?" if TOOLCHAINOPTS
78 depends on USE_GLIBC || BROKEN
79 default n
80 help
81 Build/install GNU gccgo compiler ?