From 991fe6c70159a7254bcfe9ed7e4412cf19624e0b Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Mon, 9 Dec 2013 01:35:42 +0000 Subject: [PATCH] Fix Debian GNU/kFreeBSD build Use the same LaunchProcessPosixSpawn as on FreeBSD and Linux. llvm-svn: 196742 --- lldb/source/Host/common/Host.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Host/common/Host.cpp b/lldb/source/Host/common/Host.cpp index d013935ac425..c96140d0c7a5 100644 --- a/lldb/source/Host/common/Host.cpp +++ b/lldb/source/Host/common/Host.cpp @@ -1608,7 +1608,7 @@ Host::RunShellCommand (const char *command, return error; } -#if defined(__linux__) || defined(__FreeBSD__) +#if defined(__linux__) || defined(__FreeBSD__) || defined(__GLIBC__) // The functions below implement process launching via posix_spawn() for Linux // and FreeBSD.