rabbitmq-server: security bump to version 3.6.6
[buildroot-gz.git] / package / gcc / Config.in.host
blobd8fbc1857d77f08df377c8bdfc1c60cad1064018
1 comment "GCC Options"
3 choice
4         prompt "GCC compiler Version"
5         default BR2_GCC_VERSION_ARC if BR2_arc
6         default BR2_GCC_VERSION_5_X
7         help
8           Select the version of gcc you wish to use.
10         config BR2_GCC_VERSION_4_8_X
11                 bool "gcc 4.8.x"
12                 # Broken or unsupported architectures
13                 depends on !BR2_microblaze && !BR2_arc \
14                         && !BR2_powerpc64le && !BR2_nios2 && !BR2_bfin
15                 # Broken or unsupported ARM cores
16                 depends on !BR2_cortex_a12 && !BR2_cortex_a17 && !BR2_ARM_CPU_ARMV8
17                 # Broken or unsupported PPC cores
18                 depends on !BR2_powerpc_power8
19                 # Unsupported MIPS cores
20                 depends on !BR2_mips_interaptiv
21                 # gcc-4.8.x + binutils-2.25 is broken for MIPS
22                 depends on !((BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) && BR2_BINUTILS_VERSION_2_25_X)
23                 # Unsupported for MIPS R5
24                 depends on !BR2_MIPS_CPU_MIPS32R5 && !BR2_MIPS_CPU_MIPS64R5
25                 # Unsupported for MIPS R6
26                 depends on !BR2_MIPS_CPU_MIPS32R6 && !BR2_MIPS_CPU_MIPS64R6
27                 # musl ppc64 unsupported
28                 depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64le))
29                 # musl mips64 unsupported
30                 depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_mips64 || BR2_mips64el))
31                 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
33         config BR2_GCC_VERSION_ARC
34                 bool "gcc arc (6.x)"
35                 # Only supported architecture
36                 depends on BR2_arc
37                 select BR2_TOOLCHAIN_GCC_AT_LEAST_6
39         config BR2_GCC_VERSION_4_9_X
40                 bool "gcc 4.9.x"
41                 # Broken or unsupported architectures
42                 depends on !BR2_arc && !BR2_bfin
43                 # Broken or unsupported ARM cores
44                 depends on !BR2_cortex_a17 && !BR2_cortex_a72
45                 # Unsupported MIPS cores
46                 depends on !BR2_mips_interaptiv
47                 # Unsupported for MIPS R5
48                 depends on !BR2_MIPS_CPU_MIPS32R5 && !BR2_MIPS_CPU_MIPS64R5
49                 # Unsupported for MIPS R6
50                 depends on !BR2_MIPS_CPU_MIPS32R6 && !BR2_MIPS_CPU_MIPS64R6
51                 # musl microblaze unsupported
52                 depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_microblazeel || BR2_microblazebe))
53                 # musl ppc64 unsupported
54                 depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64le))
55                 # musl mips64 unsupported
56                 depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_mips64 || BR2_mips64el))
57                 # PR60102 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60102
58                 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
60         config BR2_GCC_VERSION_5_X
61                 bool "gcc 5.x"
62                 # Broken or unsupported architectures
63                 depends on !BR2_arc && !BR2_bfin
64                 # musl ppc64 unsupported
65                 depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64le))
66                 # Unsupported MIPS cores
67                 depends on !BR2_mips_interaptiv && !BR2_mips_m5150 && \
68                         !BR2_mips_m6250 && !BR2_mips_i6400 && !BR2_mips_p6600
69                 # musl mips64 unsupported
70                 depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_mips64 || BR2_mips64el))
71                 select BR2_TOOLCHAIN_GCC_AT_LEAST_5
73         config BR2_GCC_VERSION_6_X
74                 bool "gcc 6.x"
75                 # Broken or unsupported architectures
76                 depends on !BR2_arc
77                 depends on !BR2_microblaze
78                 # Unsupported MIPS cores
79                 depends on !BR2_mips_m6250 && !BR2_mips_p6600
80                 select BR2_TOOLCHAIN_GCC_AT_LEAST_6
82 endchoice
84 # Indicates if GCC for architecture supports --with-{arch,cpu,..}  to
85 # set default CFLAGS, otherwise values will be used by toolchain
86 # wrapper.
87 config BR2_GCC_ARCH_HAS_CONFIGURABLE_DEFAULTS
88         bool
89         default y if !BR2_bfin
91 config BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE
92         bool
93         default y
95 config BR2_GCC_VERSION
96         string
97         default "4.8.5"     if BR2_GCC_VERSION_4_8_X
98         default "4.9.4"     if BR2_GCC_VERSION_4_9_X
99         default "5.4.0"     if BR2_GCC_VERSION_5_X
100         default "6.3.0"     if BR2_GCC_VERSION_6_X
101         default "arc-2016.09-release" if BR2_GCC_VERSION_ARC
103 config BR2_EXTRA_GCC_CONFIG_OPTIONS
104         string "Additional gcc options"
105         default ""
106         help
107           Any additional gcc configure options you may want to
108           include. Those options are applied for all of the gcc
109           initial, gcc intermediate and gcc final passes.
111 config BR2_TOOLCHAIN_BUILDROOT_CXX
112         bool "Enable C++ support"
113         select BR2_INSTALL_LIBSTDCPP
114         help
115           Enable this option if you want your toolchain to support the
116           C++ language and you want C++ libraries to be installed on
117           your target system.
119 comment "Fortran support needs a toolchain w/ wchar"
120         depends on BR2_TOOLCHAIN_HAS_LIBQUADMATH
121         depends on !BR2_USE_WCHAR # libquadmath
123 config BR2_TOOLCHAIN_BUILDROOT_FORTRAN
124         bool "Enable Fortran support"
125         # on architecture building libquadmath, wchar is required
126         depends on !BR2_TOOLCHAIN_HAS_LIBQUADMATH || \
127                 (BR2_TOOLCHAIN_HAS_LIBQUADMATH && BR2_USE_WCHAR)
128         select BR2_TOOLCHAIN_HAS_FORTRAN
129         help
130           Enable this option if you want your toolchain to support the
131           Fortran language and you want Fortran libraries to be
132           installed on your target system.
134 config BR2_GCC_ENABLE_LTO
135         bool "Enable compiler link-time-optimization support"
136         select BR2_BINUTILS_ENABLE_LTO
137         help
138           This option enables link-time optimization (LTO) support in
139           gcc.
141 config BR2_GCC_ENABLE_OPENMP
142         bool "Enable compiler OpenMP support"
143         depends on !BR2_PTHREADS_NONE && !BR2_arc && !BR2_microblaze
144         help
145           Enable OpenMP support for the compiler
147 config BR2_GCC_ENABLE_LIBMUDFLAP
148         bool "Enable libmudflap support"
149         # There are architectures, or specific configurations for
150         # which mudflap is not supported.
151         depends on !BR2_ARM_INSTRUCTIONS_THUMB && !BR2_powerpc_SPE
152         depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
153         help
154           libmudflap is a gcc library used for the mudflap pointer
155           debugging functionality. It is only needed if you intend to
156           use the -fmudflap gcc flag.
158           See http://gcc.gnu.org/wiki/Mudflap_Pointer_Debugging and
159           the help of the gcc -fmudflap option for more details.
161           If you're unsure, leave this option disabled.
163 config BR2_GCC_ENABLE_GRAPHITE
164         bool "Enable graphite support"
165         help
166           This option enables the graphite optimizations in the
167           compiler.