aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-14 14:30:02 +0100
committerMax Kellermann <max@duempel.org>2009-03-14 14:30:02 +0100
commitbd833f64e207565ce09ae3fa933da4a79d4f88ef (patch)
treed253df77d24a56cde880ac1605198c0939540e7d
parent0a1db6cbc9e77df50096e010f0c5ac6eb6f35d57 (diff)
downloadmpd-bd833f64e207565ce09ae3fa933da4a79d4f88ef.tar.gz
mpd-bd833f64e207565ce09ae3fa933da4a79d4f88ef.tar.xz
mpd-bd833f64e207565ce09ae3fa933da4a79d4f88ef.zip
Makefile.am: don't let sparse scan C++ sources
sparse cannot deal with C++.
Diffstat (limited to '')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 1f04b5b55..4960a6dfc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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