Commit c507541a authored by Rafaël Carré's avatar Rafaël Carré

cppcheck: move after definition of CC

parent 125d1f34
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment