Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Reenable CLANG

  • Loading branch information...
commit b57006283551ab3f020055f811cbcf1328caad63 1 parent 70bce6b
@bsdphk bsdphk authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 autogen.des
View
5 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
Please sign in to comment.
Something went wrong with that request. Please try again.