[vlc-commits] cppcheck: move after definition of CC

Rafaël Carré git at videolan.org
Sat Feb 4 01:04:43 CET 2012


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Feb  2 18:20:51 2012 -0500| [c507541a9ba974f82fd9a28c92d1c5e083b9658b] | committer: Rafaël Carré

cppcheck: move after definition of CC

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c507541a9ba974f82fd9a28c92d1c5e083b9658b
---

 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)



More information about the vlc-commits mailing list