mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 13:00:09 +01:00
glsl2: Change command line options passed to flex
Remove --never-interactive because it is already specified in the source using %option. Use -o instead of --outfile. Some of the %option commands may also need to be removed for compatibility with older versions (e.g., 2.5.4) of flex. This should fix bugzilla #29209.
This commit is contained in:
parent
a43871f763
commit
5a805079a8
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ glcpp/glcpp: $(GLCPP_OBJECTS) libglsl.a
|
|||
$(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@
|
||||
|
||||
glsl_lexer.cpp: glsl_lexer.lpp
|
||||
flex --never-interactive --outfile="$@" $<
|
||||
flex -o$@ $<
|
||||
|
||||
glsl_parser.cpp: glsl_parser.ypp
|
||||
bison -v -o "$@" -p "_mesa_glsl_" --defines=glsl_parser.h $<
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue