toolchain: Fix glibc selection on ARC targets
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 22 Dec 2020 23:32:41 +0000 (00:32 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 22 Dec 2020 23:45:19 +0000 (00:45 +0100)
Without this change no libc is selected and the build will fail. This
will select glibc for ARC CPUs.

Fixes: 95f1002acab5 ("toolchain: default to glibc for ARC")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
toolchain/Config.in

index bb8729d8057316c79238133c11f5397210332c36..6dda9af92d6cbf6e25cb55b2f858c875fc51c4bb 100644 (file)
@@ -260,6 +260,7 @@ config GDB
          Enable if you want to build the gdb.
 
 config USE_GLIBC
+       default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN && (arc)
        bool
 
 config USE_MUSL