From: Vinson Lee Date: Mon, 28 Sep 2009 15:03:26 +0000 (-0600) Subject: progs/perf: Include local headers before installed headers. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6920a355c1fafb243efc8693d845cd8b524b6b0a;p=mesa.git progs/perf: Include local headers before installed headers. Fixes compilation errors on platforms with older installed GL headers. --- 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 = \