mirror of
https://github.com/php/php-src.git
synced 2024-11-28 12:26:37 +08:00
This makes flex and bison not to add those #line directives which
cause trouble with some compilers.
This commit is contained in:
parent
6a5ee2a538
commit
e5394bbafe
6
genfiles
6
genfiles
@ -9,13 +9,13 @@ sh build/fastgen.sh . yes $files
|
||||
touch .deps main/.deps ext/standard/libs.mk
|
||||
|
||||
cat > config_vars.mk <<EOF
|
||||
LEX=flex
|
||||
YACC=bison -y
|
||||
LEX=flex -L
|
||||
YACC=bison -y -l
|
||||
EOF
|
||||
|
||||
(cd main && make configuration-parser.c configuration-scanner.c)
|
||||
(cd ext/standard && make parsedate.c)
|
||||
|
||||
rm config_vars.mk .deps ext/standard/libs.mk $files
|
||||
# rm config_vars.mk .deps ext/standard/libs.mk $files
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user