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

Rafaël Carré git at videolan.org
Sat Feb 4 15:18:59 CET 2012


vlc/vlc-2.0 | branch: master | Rafaël Carré <funman at videolan.org> | Thu Feb  2 18:20:51 2012 -0500| [419fc074bbc3bc15cce2a550cded4660d3ce8725] | committer: Jean-Baptiste Kempf

cppcheck: move after definition of CC
(cherry picked from commit c507541a9ba974f82fd9a28c92d1c5e083b9658b)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 168a0d7..b008754 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))
@@ -149,6 +148,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