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