libc: Make getcwd() work even CONFIG_DISABLE_ENVIRON is enabled

since getcwd() can be implemented correctly without using environ

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2024-10-16 20:36:29 +08:00
committed by GUIDINGLI
parent 526ba1ab34
commit 67ed036227
4 changed files with 8 additions and 8 deletions
-1
View File
@@ -17,7 +17,6 @@ config LIBC_RAND_ORDER
config LIBC_HOMEDIR
string "Home directory"
default "/"
depends on !DISABLE_ENVIRON
---help---
The home directory to use with operations like such as 'cd ~'