mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 05:30:31 -04:00
Fix race conditions where generated headers are not created before they are needed in the build. Ninja 1.12.0 removed the `-w dupbuild` option and the default behavior is now equivalent to passing `-w dupbuild=err` in previous versions. PR: 278693 Approved by: portmgr (blanket)
11 lines
442 B
Python
11 lines
442 B
Python
--- tools/gn/bootstrap/bootstrap.py.orig 2024-01-16 20:56:06 UTC
|
|
+++ tools/gn/bootstrap/bootstrap.py
|
|
@@ -122,7 +122,7 @@ def main(argv):
|
|
|
|
shutil.copy2(
|
|
os.path.join(BOOTSTRAP_DIR, 'last_commit_position.h'), gn_build_dir)
|
|
- cmd = [ninja_binary, '-C', gn_build_dir, '-w', 'dupbuild=err', 'gn']
|
|
+ cmd = [ninja_binary, '-C', gn_build_dir, 'gn']
|
|
if options.jobs:
|
|
cmd += ['-j', str(options.jobs)]
|
|
subprocess.check_call(cmd)
|