summaryrefslogtreecommitdiffstats
path: root/lib/clang
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-06-13 12:39:22 +0000
committered <ed@FreeBSD.org>2010-06-13 12:39:22 +0000
commitf78d8ab6d94a4542f6914cff3380cc8d4137326f (patch)
tree5cf9bf9fac03bd4174bc08a7bb8d35d1a145147f /lib/clang
parentc6647a5f305eb14eb4b294954089207261146752 (diff)
downloadFreeBSD-src-f78d8ab6d94a4542f6914cff3380cc8d4137326f.zip
FreeBSD-src-f78d8ab6d94a4542f6914cff3380cc8d4137326f.tar.gz
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
Diffstat (limited to 'lib/clang')
-rw-r--r--lib/clang/clang.build.mk2
-rw-r--r--lib/clang/include/llvm/Config/config.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/clang/clang.build.mk b/lib/clang/clang.build.mk
index d6eaaa4..9137ebd 100644
--- a/lib/clang/clang.build.mk
+++ b/lib/clang/clang.build.mk
@@ -12,7 +12,7 @@ TARGET_ARCH?= ${MACHINE_ARCH}
# XXX: 8.0, to keep __FreeBSD_cc_version happy
CFLAGS+=-DLLVM_HOSTTRIPLE=\"${TARGET_ARCH}-undermydesk-freebsd9.0\" \
-DCLANG_VENDOR=\"FreeBSD\ \" -DSVN_REVISION=\"104832\" \
- -DCLANG_VENDOR_SUFFIX=\"\ 20100612\"
+ -DCLANG_VENDOR_SUFFIX=\"\ 20100613\"
.PATH: ${LLVM_SRCS}/${SRCDIR}
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
OpenPOWER on IntegriCloud