6266067b47
- ninja-re2c-g.patch tell re2c to generate gcc specific code using the -g flag, this usually results in lexers that are 20-25% faster. OBS-URL: https://build.opensuse.org/request/show/883105 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/ninja?expand=0&rev=55
12 lines
446 B
Diff
12 lines
446 B
Diff
--- configure.py.orig
|
|
+++ configure.py
|
|
@@ -479,7 +479,7 @@
|
|
return False
|
|
if has_re2c():
|
|
n.rule('re2c',
|
|
- command='re2c -b -i --no-generation-date -o $out $in',
|
|
+ command='re2c -g -b -i --no-generation-date -o $out $in',
|
|
description='RE2C $out')
|
|
# Generate the .cc files in the source directory so we can check them in.
|
|
n.build(src('depfile_parser.cc'), 're2c', src('depfile_parser.in.cc'))
|