Makefile.am: don't let sparse scan C++ sources
sparse cannot deal with C++.
This commit is contained in:
parent
0a1db6cbc9
commit
bd833f64e2
@ -523,7 +523,7 @@ SPARSE_CPPFLAGS = $(DEFAULT_INCLUDES) \
|
||||
SPARSE_CPPFLAGS += -D__SCHAR_MAX__=127 -D__SHRT_MAX__=32767 \
|
||||
-D__INT_MAX__=2147483647 -D__LONG_MAX__=2147483647
|
||||
sparse-check:
|
||||
for i in $(src_mpd_SOURCES); \
|
||||
for i in $(filter-out %.cxx,$(src_mpd_SOURCES)); \
|
||||
do \
|
||||
$(SPARSE) -I. $(src_mpd_CFLAGS) $(src_mpd_CPPFLAGS) $(SPARSE_FLAGS) $(SPARSE_CPPFLAGS) $(srcdir)/$$i || exit; \
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user