mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 07:38:10 +02:00
scons: add new -p (prefix) options for yacc
These were recently added to the Makefiles.
(cherry picked from commit e78ebbc5f9)
This commit is contained in:
parent
d9197f9037
commit
e642d61d13
2 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ env.Prepend(CPPPATH = [
|
|||
# Make glcpp-parse.h and glsl_parser.h reachable from the include path.
|
||||
env.Append(CPPPATH = [Dir('.').abspath, Dir('glcpp').abspath])
|
||||
|
||||
env.Append(YACCFLAGS = '-d')
|
||||
env.Append(YACCFLAGS = '-d -p "glcpp_parser_"')
|
||||
|
||||
parser_env = env.Clone()
|
||||
parser_env.Append(YACCFLAGS = [
|
||||
|
|
|
|||
|
|
@ -280,7 +280,7 @@ statetracker_sources = [
|
|||
'state_tracker/st_texture.c',
|
||||
]
|
||||
|
||||
env.Append(YACCFLAGS = '-d')
|
||||
env.Append(YACCFLAGS = '-d -p "_mesa_program_"')
|
||||
program_lex = env.CFile('program/lex.yy.c', 'program/program_lexer.l')
|
||||
program_parse = env.CFile('program/program_parse.tab.c',
|
||||
'program/program_parse.y')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue