progs/glsl: Include local headers before installed headers during compilation.
authorVinson Lee <vlee@vmware.com>
Mon, 21 Sep 2009 14:44:53 +0000 (08:44 -0600)
committerVinson Lee <vlee@vmware.com>
Thu, 3 Dec 2009 03:39:25 +0000 (19:39 -0800)
Fixes compilation errors on platforms with insufficient older installed
GL headers.
(cherry picked from commit d17af7d1e19e637e29db47bd8f6e3e579760c530)

progs/glsl/Makefile

index a8e4cf3e661b5a561c4071c082cdb7a6052ae234..8928c833c0e7725923a127d60b8828495860f78a 100644 (file)
@@ -15,7 +15,7 @@ LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLEW_LIB) -l$(GLU_LIB) \
 
 # using : to avoid APP_CC pointing to CC loop
 CC := $(APP_CC)
-CFLAGS += -I$(INCDIR)
+CFLAGS := -I$(INCDIR) $(CFLAGS)
 LDLIBS = $(LIBS)
 
 PROG_SOURCES = \