summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--progs/perf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/perf/Makefile b/progs/perf/Makefile
index 066eb8608ec..f7b965542e2 100644
--- a/progs/perf/Makefile
+++ b/progs/perf/Makefile
@@ -10,7 +10,7 @@ LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLEW_LIB) \
# using : to avoid APP_CC pointing to CC loop
CC := $(APP_CC)
-CFLAGS += -I$(INCDIR)
+CFLAGS := -I$(INCDIR) $(CFLAGS)
LDLIBS = $(LIBS)
PROG_SOURCES = \