void-packages/srcpkgs/mozc/patches/no-parallel.patch
2021-07-05 12:58:08 +07:00

10 lines
459 B
Diff

--- a/mozc/src/build_mozc.py
+++ b/mozc/src/build_mozc.py
@@ -496,6 +496,7 @@ def GypMain(options, unused_args):
gyp_options.extend(['--generator-output=.'])
short_basename = GetBuildShortBaseName(target_platform)
gyp_options.extend(['-G', 'output_dir=%s' % short_basename])
+ gyp_options.extend(['--no-parallel']) # Parallel generation requires writable /dev/shm
# Enable cross-compile
# TODO(yukawa): Enable GYP_CROSSCOMPILE for Windows.