From b98c19888373d4adb5c46e61f379d883096ec673 Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Thu, 26 Mar 2015 10:59:04 +0000
Subject: toolchain: fix eglibc build when TOOLCHAINOPTS is not set

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45015
---
 toolchain/glibc/Config.version | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'toolchain/glibc/Config.version')

diff --git a/toolchain/glibc/Config.version b/toolchain/glibc/Config.version
index 0d84df2..2ac01d7 100644
--- a/toolchain/glibc/Config.version
+++ b/toolchain/glibc/Config.version
@@ -10,7 +10,6 @@ config EGLIBC_VERSION_2_19
 	bool
 
 config GLIBC_VERSION_2_21
-	default y if !TOOLCHAINOPTS
 	bool
 
 config GLIBC_REVISION
@@ -20,3 +19,8 @@ config GLIBC_REVISION
 	default ""
 
 endif
+
+menu "eglibc configuration"
+	depends on !TOOLCHAINOPTS && USE_GLIBC
+	source toolchain/glibc/config/Config.in
+endmenu
-- 
cgit v1.1