diff options
| author | Bernard Xiong <[email protected]> | 2018-11-09 09:18:05 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2018-11-09 09:18:05 +0800 |
| commit | ad42abb933a1801721a5f0abe6bdb70bc8d70334 (patch) | |
| tree | 1c8011f2672663ca181686d7ef7f5c76cef4f9d4 | |
| parent | d1c177f48b6c53cc007c4a37954b42b50a813620 (diff) | |
[Libc] Disable ENV when disable DFS.
| -rw-r--r-- | components/libc/compilers/newlib/libc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/compilers/newlib/libc.c b/components/libc/compilers/newlib/libc.c index 06c490c8cf..2234c36f98 100644 --- a/components/libc/compilers/newlib/libc.c +++ b/components/libc/compilers/newlib/libc.c @@ -35,11 +35,11 @@ int libc_system_init(void) libc_stdio_set_console(dev_console->parent.name, O_WRONLY); #endif } -#endif /* set PATH and HOME */ putenv("PATH=/bin"); putenv("HOME=/home"); +#endif #if defined RT_USING_PTHREADS && !defined RT_USING_COMPONENTS_INIT pthread_system_init(); |
