From f78d8ab6d94a4542f6914cff3380cc8d4137326f Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 13 Jun 2010 12:39:22 +0000 Subject: Disable usage of posix_spawn() inside LLVM. Even though it's nice to use posix_spawn() instead of manually using fork()/exec(), it's better to disable this. FreeBSD 7 doesn't support this interface. When enabled, we can't build tblgen, which prevents us from building FreeBSD 9 on 7. Tested by: raj --- lib/clang/include/llvm/Config/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/clang/include/llvm/Config') diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h index 538a142..6f222d5 100644 --- a/lib/clang/include/llvm/Config/config.h +++ b/lib/clang/include/llvm/Config/config.h @@ -270,7 +270,7 @@ #define HAVE_OPENDIR 1 /* Define to 1 if you have the `posix_spawn' function. */ -#define HAVE_POSIX_SPAWN 1 +/* #undef HAVE_POSIX_SPAWN */ /* Define to 1 if you have the `powf' function. */ #define HAVE_POWF 1 -- cgit v1.1