Commit 419fc074 authored by Rafaël Carré's avatar Rafaël Carré Committed by Jean-Baptiste Kempf

cppcheck: move after definition of CC

(cherry picked from commit c507541a)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 5547aa24
......@@ -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)
......
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