summaryrefslogtreecommitdiffstats
path: root/progs/glsl
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-09-21 08:44:53 -0600
committerVinson Lee <[email protected]>2009-12-02 19:39:25 -0800
commit2a5cd95e243a0e8db25a8c7614c9b9fe5f116044 (patch)
tree2e37cb61270c3ab86384ec383ce690d8c995aebc /progs/glsl
parentccea09cd3a3f18c28ebdc07c7fe879a59cd72f60 (diff)
progs/glsl: Include local headers before installed headers during compilation.
Fixes compilation errors on platforms with insufficient older installed GL headers. (cherry picked from commit d17af7d1e19e637e29db47bd8f6e3e579760c530)
Diffstat (limited to 'progs/glsl')
-rw-r--r--progs/glsl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/glsl/Makefile b/progs/glsl/Makefile
index a8e4cf3e661..8928c833c0e 100644
--- a/progs/glsl/Makefile
+++ b/progs/glsl/Makefile
@@ -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 = \