summaryrefslogtreecommitdiffstats
path: root/src/glsl/Makefile
diff options
context:
space:
mode:
authorTobias Droste <tdroste@gmx.de>2011-03-16 18:45:29 +0100
committerKenneth Graunke <kenneth@whitecape.org>2011-03-16 13:54:50 -0700
commitf3a828c21fcb95c67868f0224ab4ec92f54eee7f (patch)
tree84e6f8e7b5a66855564283c0dead25e1bac8950c /src/glsl/Makefile
parent2baac48f3900b6e7a6443c6c116899cf95275629 (diff)
autoconf: don't use CFLAGS for cpp files
Signed-off-by: Tobias Droste <tdroste@gmx.de>
Diffstat (limited to 'src/glsl/Makefile')
-rw-r--r--src/glsl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/Makefile b/src/glsl/Makefile
index cd7c41a2abc..e4b992dbc11 100644
--- a/src/glsl/Makefile
+++ b/src/glsl/Makefile
@@ -204,7 +204,7 @@ glcpp/glcpp-parse.c: glcpp/glcpp-parse.y
bison -v -o "$@" --defines=glcpp/glcpp-parse.h $<
builtin_compiler: $(GLSL2_OBJECTS) $(OBJECTS) builtin_stubs.o
- $(APP_CXX) $(INCLUDES) $(CFLAGS) $(LDFLAGS) $(OBJECTS) $(GLSL2_OBJECTS) builtin_stubs.o -o $@
+ $(APP_CXX) $(INCLUDES) $(CXXFLAGS) $(LDFLAGS) $(OBJECTS) $(GLSL2_OBJECTS) builtin_stubs.o -o $@
builtin_function.cpp: builtins/profiles/* builtins/ir/* builtins/tools/generate_builtins.py builtins/tools/texture_builtins.py builtin_compiler
@echo Regenerating builtin_function.cpp...