summaryrefslogtreecommitdiffstats
path: root/src/glsl/Makefile
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-08-11 17:14:02 -0700
committerIan Romanick <[email protected]>2010-08-11 17:14:02 -0700
commit2fb94b37d2ace1170018cc36f50cf6e71fc708c4 (patch)
treebe5b7c060732ce9846dad9ebed181cded790ff9e /src/glsl/Makefile
parentdb36e88052918ad383c3acdd24f2b9864e240ddb (diff)
glsl2: Use bison command line option to set prefix
Bison version 2.3 doesn't seem to support %name-prefix in the source. This should fix bugzilla #29207.
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 85298d06a01..a0ab1d6d401 100644
--- a/src/glsl/Makefile
+++ b/src/glsl/Makefile
@@ -154,7 +154,7 @@ glsl_lexer.cpp: glsl_lexer.lpp
flex --never-interactive --outfile="$@" $<
glsl_parser.cpp: glsl_parser.ypp
- bison -v -o "$@" --defines=glsl_parser.h $<
+ bison -v -o "$@" -p "_mesa_glsl_" --defines=glsl_parser.h $<
glcpp/glcpp-lex.c: glcpp/glcpp-lex.l
flex --never-interactive --outfile="$@" $<