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

13 lines
558 B
Diff

Index: mozc/src/build_mozc.py
===================================================================
--- mozc/src/build_mozc.py.orig
+++ 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.