Module: Mesa
Branch: master
Commit: 6920a355c1fafb243efc8693d845cd8b524b6b0a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6920a355c1fafb243efc8693d845cd8b524b6b0a

Author: Vinson Lee <[email protected]>
Date:   Mon Sep 28 09:03:26 2009 -0600

progs/perf: Include local headers before installed headers.

Fixes compilation errors on platforms with older installed GL headers.

---

 progs/perf/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/progs/perf/Makefile b/progs/perf/Makefile
index 066eb86..f7b9655 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 = \

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to