File ninja-re2c-g.patch of Package ninja

--- ninja-1.11.0/configure.py.orig	2022-05-18 10:45:04.772811782 +0200
+++ ninja-1.11.0/configure.py	2022-05-18 10:45:13.968857314 +0200
@@ -479,7 +479,7 @@
         return False
 if has_re2c():
     n.rule('re2c',
-           command='re2c -b -i --no-generation-date --no-version -o $out $in',
+           command='re2c -g -b -i --no-generation-date --no-version -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'))
openSUSE Build Service is sponsored by