diff options
author | Chris Packham <judge.packham@gmail.com> | 2021-05-11 07:45:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-11 07:45:52 (GMT) |
commit | bbb0db2880d5e7600e176fc8025f0add9ef85eb9 (patch) | |
tree | fb1a027c4bf1c90aee2656a41dcd61676bd9e660 /config | |
parent | 0528a9d744cc95aac3df40d5a1666f0a1051cf5d (diff) | |
parent | 0cf01b55a6424f0b02b9ac7305b8c067a31c72e9 (diff) |
Merge pull request #1501 from nikkon-dev/nikkon-dev/gcc11
Initial commit for gcc11
Diffstat (limited to 'config')
-rw-r--r-- | config/cc/gcc.in | 1 | ||||
-rw-r--r-- | config/libc/glibc.in | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/config/cc/gcc.in b/config/cc/gcc.in index c3918e8..01d7253 100644 --- a/config/cc/gcc.in +++ b/config/cc/gcc.in @@ -84,6 +84,7 @@ config CC_GCC_EXTRA_CONFIG_ARRAY config CC_GCC_MULTILIB_LIST string "List of multilib variants" depends on MULTILIB + default "m2,m2e,m4,m4-single,m4-single-only,m2a,m2a-single" if GCC_V_11 && ARCH_SH help Architecture-specific option of expanding or restricting the list of the multilib variants to be built. Refer to GCC installation manual diff --git a/config/libc/glibc.in b/config/libc/glibc.in index 001cd2f..e89ed8c 100644 --- a/config/libc/glibc.in +++ b/config/libc/glibc.in @@ -403,8 +403,9 @@ config GLIBC_SSP # GCC8-related fixes were only available in glibc 2.27. config GLIBC_ENABLE_WERROR bool "Enable -Werror during the build" - depends on !(ARCH_POWERPC && ARCH_64 && GLIBC_V_2_32) - depends on !(ARCH_SPARC && GLIBC_V_2_32) + default n if GLIBC_2_32_or_later && ARCH_POWERPC && ARCH_64 + default n if GLIBC_2_32_or_later && ARCH_SPARC + default n if GLIBC_2_32_or_later && GCC_11_or_later default y if GCC_7_or_older default y if GCC_8_or_later && GLIBC_2_27_or_later help |