summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/linux
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-09-19 18:03:54 +0000
committerZachary Turner <zturner@google.com>2016-09-19 18:03:54 +0000
commit92b146e5fa0f80bda060e30ef0ee74243e3acc7a (patch)
tree88c4b45af5a3ef7fdd2a1abf8defa75816cbe16a /lldb/source/Host/linux
parentc991709f460218e493eef36e8792865dac0a6461 (diff)
downloadbcm5719-llvm-92b146e5fa0f80bda060e30ef0ee74243e3acc7a.tar.gz
bcm5719-llvm-92b146e5fa0f80bda060e30ef0ee74243e3acc7a.zip
Try to fix freebsd and android builds.
llvm-svn: 281922
Diffstat (limited to 'lldb/source/Host/linux')
-rw-r--r--lldb/source/Host/linux/ProcessLauncherLinux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/linux/ProcessLauncherLinux.cpp b/lldb/source/Host/linux/ProcessLauncherLinux.cpp
index 444a8fdd43c..a769f1aa91b 100644
--- a/lldb/source/Host/linux/ProcessLauncherLinux.cpp
+++ b/lldb/source/Host/linux/ProcessLauncherLinux.cpp
@@ -36,7 +36,7 @@ static void FixupEnvironment(Args &env) {
for (const char **args = env.GetConstArgumentVector(); *args; ++args)
if (::strncmp(path, *args, path_len) == 0)
return;
- env.AppendArgument("PATH=/system/bin");
+ env.AppendArgument(llvm::StringRef("PATH=/system/bin"));
#endif
}
OpenPOWER on IntegriCloud