[experimental-ims] 57412eb Disable CLANG for now, until some auto* magic happens to remove the -g option from linker-commands.

Poul-Henning Kamp phk at FreeBSD.org
Thu Dec 18 10:27:52 CET 2014


commit 57412ebfc088ec242e93722337f110c0f40f79b1
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Aug 6 09:58:21 2012 +0000

    Disable CLANG for now, until some auto* magic happens to remove the
    -g option from linker-commands.

diff --git a/autogen.des b/autogen.des
index 58f3c2b..3a706f3 100755
--- a/autogen.des
+++ b/autogen.des
@@ -9,6 +9,10 @@ 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
+
+	# XXX: clang complains about -g in linker invocations
+	# XXX: so fall back to gcc for now...
+	CC=gcc
 	export CC
 fi
 



More information about the varnish-commit mailing list