summaryrefslogtreecommitdiffstats
path: root/source/d/gyp/gyp-ninja-build.patch
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2020-05-30 21:31:07 +0000
committer Eric Hameleers <alien@slackware.com>2020-05-31 08:59:52 +0200
commit4490f144069d8cb4c754c5b87efc58c0e06a10ec (patch)
tree48f52539d1c0bfbc62a57b9c9b2a9c24e948591f /source/d/gyp/gyp-ninja-build.patch
parentf21d902e060d553644989b720ecbdd1b6210f212 (diff)
downloadcurrent-bcdba515db8800f5511a2a0897387102cda3f040.tar.gz
current-bcdba515db8800f5511a2a0897387102cda3f040.tar.xz
Sat May 30 21:31:07 UTC 202020200530213107
ap/mpg123-1.26.1-x86_64-1.txz: Upgraded. d/gyp-20200512_caa60026-x86_64-1.txz: Added. l/Mako-1.1.3-x86_64-1.txz: Upgraded. l/imagemagick-7.0.10_15-x86_64-1.txz: Upgraded. l/librsvg-2.48.5-x86_64-1.txz: Upgraded. l/mozilla-nss-3.53-x86_64-1.txz: Upgraded. l/vte-0.60.3-x86_64-1.txz: Upgraded. n/libgpg-error-1.38-x86_64-1.txz: Upgraded. n/libqmi-1.24.14-x86_64-1.txz: Upgraded. extra/pure-alsa-system/mpg123-1.26.1-x86_64-1_alsa.txz: Upgraded.
Diffstat (limited to 'source/d/gyp/gyp-ninja-build.patch')
-rw-r--r--source/d/gyp/gyp-ninja-build.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/source/d/gyp/gyp-ninja-build.patch b/source/d/gyp/gyp-ninja-build.patch
new file mode 100644
index 000000000..74d8522dd
--- /dev/null
+++ b/source/d/gyp/gyp-ninja-build.patch
@@ -0,0 +1,26 @@
+diff -pruN gyp-0.1-gitfcd686f1.orig/pylib/gyp/generator/ninja.py gyp-0.1-gitfcd686f1/pylib/gyp/generator/ninja.py
+--- gyp-0.1-gitfcd686f1.orig/pylib/gyp/generator/ninja.py 2019-08-14 09:05:50.000000000 +0000
++++ gyp-0.1-gitfcd686f1/pylib/gyp/generator/ninja.py 2019-08-14 09:19:26.668031638 +0000
+@@ -2073,11 +2073,11 @@ def GenerateOutputForConfig(target_list,
+ # .c files. This should be handled by mspdbsrv, but rarely errors out with
+ # c1xx : fatal error C1033: cannot open program database
+ # By making the rules target separate pdb files this might be avoided.
+- cc_command = ('ninja -t msvc -e $arch ' +
++ cc_command = ('ninja-build -t msvc -e $arch ' +
+ '-- '
+ '$cc /nologo /showIncludes /FC '
+ '@$out.rsp /c $in /Fo$out /Fd$pdbname_c ')
+- cxx_command = ('ninja -t msvc -e $arch ' +
++ cxx_command = ('ninja-build -t msvc -e $arch ' +
+ '-- '
+ '$cxx /nologo /showIncludes /FC '
+ '@$out.rsp /c $in /Fo$out /Fd$pdbname_cc ')
+@@ -2453,7 +2453,7 @@ def PerformBuild(data, configurations, p
+ options = params['options']
+ for config in configurations:
+ builddir = os.path.join(options.toplevel_dir, 'out', config)
+- arguments = ['ninja', '-C', builddir]
++ arguments = ['ninja-build', '-C', builddir]
+ print('Building [%s]: %s' % (config, arguments))
+ subprocess.check_call(arguments)
+