chiark / gitweb /
autogen: add shortcut for building with clang
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Fri, 27 Dec 2013 20:54:48 +0000 (21:54 +0100)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Sat, 28 Dec 2013 20:24:25 +0000 (21:24 +0100)
commitbd3539b222e0c9bcb97fe35b4fdf79cfceade179
tree8c2c82bbf2d914ffc1a1c413c188cd8291c089de
parent08c51903fb895e836866b8e7a09f0523b72b9aaf
autogen: add shortcut for building with clang

For a while I have been cleaning up warnings when building with clang.
There are currently only two sources of warnings left: Wcast-align and Wgnu.
I am not convinced that fixing up those up is feasible so I run with them
disabled to spot regressions. E.g. clang is a bit more strict wrt to unused
variables with the cleanup attribute and I have fixed a number of those since.

Like the other options in autogen.sh I have a shortcut for clang as well. I use
'l' for llvm.
autogen.sh