Don't build with -Werror, just -Wall: libdispatch sees a number of warnings when built with clang rather than gcc.
--- trunk/src/Makefile.am 2009-09-26 18:30:55 UTC (rev 43)
+++ trunk/src/Makefile.am 2009-09-26 18:45:51 UTC (rev 44)
@@ -15,7 +15,7 @@
source.c \
time.c
-libdispatch_la_CFLAGS=-Wall -Werror
+libdispatch_la_CFLAGS=-Wall
INCLUDES=-I$(top_builddir) -I$(top_srcdir) \
@APPLE_LIBC_SOURCE_PATH@ @APPLE_XNU_SOURCE_PATH@