[master] b570062 Reenable CLANG
Poul-Henning Kamp
phk at varnish-cache.org
Mon Nov 19 14:13:14 CET 2012
commit b57006283551ab3f020055f811cbcf1328caad63
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Nov 19 13:12:26 2012 +0000
Reenable CLANG
diff --git a/autogen.des b/autogen.des
index 3a706f3..aeb74d5 100755
--- a/autogen.des
+++ b/autogen.des
@@ -9,11 +9,12 @@ make -k distclean > /dev/null 2>&1 || true
# Prefer CLANG if we have it, and have not given preferences
if [ -f /usr/bin/clang -a "x${CC}" = "x" ] ; then
CC=clang
+ CFLAGS="${CFLAGS} -Qunused-arguments"
# XXX: clang complains about -g in linker invocations
# XXX: so fall back to gcc for now...
- CC=gcc
- export CC
+ # CC=gcc
+ export CC CFLAGS
fi
rm -f configure
More information about the varnish-commit
mailing list