diff options
author | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2019-05-19 13:20:33 +0200 |
---|---|---|
committer | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2019-05-19 13:20:33 +0200 |
commit | 29eade59477056333136c3546f974fc2fc2fd886 (patch) | |
tree | 0c1398ab14a6c27892ad495d00ab688ecc2ac5b1 | |
parent | 4b409f7a62482cef4fd6d3a15354fbd3e5d8b9ee (diff) | |
download | embedlog-29eade59477056333136c3546f974fc2fc2fd886.tar.gz embedlog-29eade59477056333136c3546f974fc2fc2fd886.tar.bz2 embedlog-29eade59477056333136c3546f974fc2fc2fd886.zip |
src/Makefile.am: force clang --analyze to use local embedlog.h
Without that -I../include, clang were loading system-wide embedlog.h
which could result in errror in case when system embedlog.h is
different than local one.
Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
-rw-r--r-- | src/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 58894f1..8bded60 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -17,7 +17,7 @@ MOSTLYCLEANFILES = $(analyze_plists) $(analyze_plists): %.plist: %.c @echo " CCSA " $@ - @clang --analyze -I.. -DHAVE_CONFIG_H=1 $< -o $@ + @clang --analyze -I.. -I../include -DHAVE_CONFIG_H=1 $< -o $@ analyze: $(analyze_plists) |