summaryrefslogtreecommitdiff
path: root/src/glsl/Makefile
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-08-13 13:08:54 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-08-13 14:50:53 -0700
commitab18be74ac5f95ba1ebe6a52259d77e0940b2dbd (patch)
tree631bb08fb96107280ec03107dfa9bf06aba27b83 /src/glsl/Makefile
parentc33e78f62bed762d8e5987e111a6e0424dc26c76 (diff)
glsl2: Use --nounistd to fix MSVC build
Also remove the --never-interactive command line option for the preprocessor lexer. This was already done for main compiler lexer.
Diffstat (limited to 'src/glsl/Makefile')
-rw-r--r--src/glsl/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/Makefile b/src/glsl/Makefile
index 3e480685bd..2f62517e95 100644
--- a/src/glsl/Makefile
+++ b/src/glsl/Makefile
@@ -151,13 +151,13 @@ glcpp/glcpp: $(GLCPP_OBJECTS) libglsl.a
$(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@
glsl_lexer.cpp: glsl_lexer.lpp
- flex -o$@ $<
+ flex --nounistd -o$@ $<
glsl_parser.cpp: glsl_parser.ypp
bison -v -o "$@" -p "_mesa_glsl_" --defines=glsl_parser.h $<
glcpp/glcpp-lex.c: glcpp/glcpp-lex.l
- flex --never-interactive --outfile="$@" $<
+ flex --nounistd -o$@ $<
glcpp/glcpp-parse.c: glcpp/glcpp-parse.y
bison -v -o "$@" --defines=glcpp/glcpp-parse.h $<