Skip to content

Commit ad42abb

Browse files
committed
[Libc] Disable ENV when disable DFS.
1 parent d1c177f commit ad42abb

File tree

1 file changed

+1
-1
lines changed
  • components/libc/compilers/newlib

1 file changed

+1
-1
lines changed

components/libc/compilers/newlib/libc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ int libc_system_init(void)
3535
libc_stdio_set_console(dev_console->parent.name, O_WRONLY);
3636
#endif
3737
}
38-
#endif
3938

4039
/* set PATH and HOME */
4140
putenv("PATH=/bin");
4241
putenv("HOME=/home");
42+
#endif
4343

4444
#if defined RT_USING_PTHREADS && !defined RT_USING_COMPONENTS_INIT
4545
pthread_system_init();

0 commit comments

Comments
 (0)