Commit b5700628 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Reenable CLANG

parent 70bce6bf
...@@ -9,11 +9,12 @@ make -k distclean > /dev/null 2>&1 || true ...@@ -9,11 +9,12 @@ make -k distclean > /dev/null 2>&1 || true
# Prefer CLANG if we have it, and have not given preferences # Prefer CLANG if we have it, and have not given preferences
if [ -f /usr/bin/clang -a "x${CC}" = "x" ] ; then if [ -f /usr/bin/clang -a "x${CC}" = "x" ] ; then
CC=clang CC=clang
CFLAGS="${CFLAGS} -Qunused-arguments"
# XXX: clang complains about -g in linker invocations # XXX: clang complains about -g in linker invocations
# XXX: so fall back to gcc for now... # XXX: so fall back to gcc for now...
CC=gcc # CC=gcc
export CC export CC CFLAGS
fi fi
rm -f configure rm -f configure
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment