Commit Graph

4 Commits (513b20ffd328934c58af169e2bce0c0a01eddee2)

Author SHA1 Message Date
Kaspar Schleiser f44763f346 make: adapt Makefiles to AD -> Q rename 7 years ago
René Kijewski d0294dd70e make: enable `assert()` in `make scan-build`
Compare scan-build's [documentation][1]:

> ALWAYS analyze a project in its "debug" configuration
>
> Most projects can be built in a "debug" mode that enables assertions.
> Assertions are picked up by the static analyzer to prune infeasible
> paths, which in some cases can greatly reduce the number of false
> positives (bogus error reports) emitted by the tool.

Closes #3960.

  1: http://clang-analyzer.llvm.org/scan-build.html#recommended_debug
8 years ago
Joakim Gebart e95a4c50a9 make: Build with -Werror by default
Can be overridden from the environment by setting WERROR=0

also remove reversed logic for Werror in Makefile.buildtest
(a typo caused Werror to be always enabled for all builds)
8 years ago
Joakim Gebart 13753cca14 Makefile.scan-build: Add make goal for running Clang static code analysis 8 years ago