Skip to content

Commit 831af57

Browse files
committed
[lldb] Remove PATH workaround for Android
1 parent 0bbfd96 commit 831af57

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lldb/source/Host/posix/ProcessLauncherPosixFork.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -231,12 +231,6 @@ MakeForkActions(const ProcessLaunchInfo &info) {
231231
}
232232

233233
static Environment::Envp FixupEnvironment(Environment env) {
234-
#ifdef __ANDROID__
235-
// If there is no PATH variable specified inside the environment then set the
236-
// path to /system/bin. It is required because the default path used by
237-
// execve() is wrong on android.
238-
env.try_emplace("PATH", "/system/bin");
239-
#endif
240234
return env.getEnvp();
241235
}
242236

0 commit comments

Comments
 (0)