projects
/
freeradius.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix issues found by LLVM checker.
[freeradius.git]
/
Make.inc.in
diff --git
a/Make.inc.in
b/Make.inc.in
index
73c4b2d
..
771231f
100644
(file)
--- a/
Make.inc.in
+++ b/
Make.inc.in
@@
-98,4
+98,11
@@
endif
endif
# http://clang.llvm.org/StaticAnalysis.html
+#
+# $ make scan | sed "s/.*Run '//;s/'.*//" > scan.sh
+# $ ./scan.sh
+#
SCAN_BUILD = /path/to/checker-0.167/scan-build
+ifeq ($(SCAN),yes)
+CC := $(SCAN_BUILD) gcc -DFR_SCAN_BUILD
+endif