void-packages/srcpkgs/mozc/patches/no-parallel.patch

11 lines
459 B
Diff

--- a/mozc/src/build_mozc.py
+++ b/mozc/src/build_mozc.py
@@ -494,6 +494,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.