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