[vlc-devel] [PATCH] cppcheck: move after definition of CC
Rafaël Carré
funman at videolan.org
Fri Feb 3 00:21:16 CET 2012
---
contrib/src/main.mak | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 6449ac1..3a9d2a3 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -29,7 +29,6 @@ CONTRIB_VIDEOLAN := $(VIDEOLAN)/testing/contrib
#
# Machine-dependent variables
#
-cppcheck = $(shell $(CC) $(CFLAGS) -E -dM - < /dev/null | grep -E $(1))
PREFIX ?= $(TOPDST)/$(HOST)
PREFIX := $(abspath $(PREFIX))
@@ -148,6 +147,7 @@ endif
endif
+cppcheck = $(shell $(CC) $(CFLAGS) -E -dM - < /dev/null | grep -E $(1))
EXTRA_CFLAGS += -I$(PREFIX)/include
CPPFLAGS := $(CPPFLAGS) $(EXTRA_CFLAGS)
--
1.7.8.3
More information about the vlc-devel
mailing list