[openwrt/openwrt] toolchain: Fix glibc selection on ARC targets

LEDE Commits lede-commits at lists.infradead.org
Tue Dec 22 18:45:54 EST 2020


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/920b692667470cf666ebb573f9213eccf3117702

commit 920b692667470cf666ebb573f9213eccf3117702
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Wed Dec 23 00:32:41 2020 +0100

    toolchain: Fix glibc selection on ARC targets
    
    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 at hauke-m.de>
---
 toolchain/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/toolchain/Config.in b/toolchain/Config.in
index bb8729d805..6dda9af92d 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -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



More information about the lede-commits mailing list