|
@@ -19,11 +19,13 @@ config BR2_PACKAGE_RSH_REDONE_RLOGIND
|
|
|
depends on BR2_ENABLE_LOCALE && BR2_USE_WCHAR
|
|
|
depends on !BR2_TOOLCHAIN_USES_MUSL
|
|
|
depends on BR2_USE_MMU # linux-pam
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # linux-pam
|
|
|
select BR2_PACKAGE_LINUX_PAM
|
|
|
|
|
|
-comment "rlogind needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library"
|
|
|
+comment "rlogind needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library, gcc >= 4.9"
|
|
|
depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
|
|
|
- || BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
|
|
|
+ || BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL || \
|
|
|
+ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
|
|
|
|
|
config BR2_PACKAGE_RSH_REDONE_RSH
|
|
|
bool "rsh"
|
|
@@ -33,10 +35,11 @@ config BR2_PACKAGE_RSH_REDONE_RSHD
|
|
|
depends on BR2_ENABLE_LOCALE && BR2_USE_WCHAR
|
|
|
depends on !BR2_STATIC_LIBS
|
|
|
depends on BR2_USE_MMU # linux-pam
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # linux-pam
|
|
|
select BR2_PACKAGE_LINUX_PAM
|
|
|
|
|
|
-comment "rshd needs a toolchain w/ wchar, locale, dynamic library"
|
|
|
+comment "rshd needs a toolchain w/ wchar, locale, dynamic library, gcc >= 4.9"
|
|
|
depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
|
|
|
- || BR2_STATIC_LIBS
|
|
|
+ || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
|
|
|
|
|
endif
|