fortify-headers: fix compatibility with -pedantic
[openwrt/staging/chunkeey.git] / toolchain / Config.in
index 0d03a2872b205bf11068fcfae1ef2dc478822c22..1e9460244dbf0f8e7c06b81d9dd9088c13cb688f 100644 (file)
@@ -211,14 +211,14 @@ comment "C Library"
 
 choice
        prompt "C Library implementation" if TOOLCHAINOPTS
-       default LIBC_USE_GLIBC if (aarch64 || aarch64_be)
+       default LIBC_USE_UCLIBC if mips64 || mips64el
+       default LIBC_USE_MUSL
        help
          Select the C library implementation.
 
        config LIBC_USE_GLIBC
-               bool "Use glibc"
+               bool "Use (e)glibc"
                select USE_GLIBC
-               depends on !avr32
 
        config LIBC_USE_UCLIBC
                select USE_UCLIBC
@@ -228,7 +228,7 @@ choice
        config LIBC_USE_MUSL
                select USE_MUSL
                bool "Use musl"
-               depends on !(mips64 || mips64el || aarch64 || aarch64_be)
+               depends on !(mips64 || mips64el)
 
 endchoice
 
@@ -241,7 +241,7 @@ comment "Debuggers"
 
 config GDB
        bool
-       depends on !(avr32 || aarch64 || aarch64_be)
+       depends on !(aarch64 || aarch64_be)
        prompt "Build gdb" if TOOLCHAINOPTS
        default y if !EXTERNAL_TOOLCHAIN
        help
@@ -257,13 +257,13 @@ config INSIGHT
 
 config USE_GLIBC
        bool
-       default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN && (aarch64 || aarch64_be || octeon)
 
 config USE_UCLIBC
+       default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN && (mips64 || mips64el)
        bool
-       default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN && !(aarch64 || aarch64_be || octeon)
 
 config USE_MUSL
+       default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN && !(mips64 || mips64el)
        bool
 
 config USE_EXTERNAL_LIBC