aboutsummaryrefslogtreecommitdiffstats
path: root/community/mozjs68/disable-jslint.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/mozjs68/disable-jslint.patch')
-rw-r--r--community/mozjs68/disable-jslint.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/community/mozjs68/disable-jslint.patch b/community/mozjs68/disable-jslint.patch
new file mode 100644
index 0000000000..b29aba6df7
--- /dev/null
+++ b/community/mozjs68/disable-jslint.patch
@@ -0,0 +1,18 @@
+--- a/js/src/build/moz.build
++++ b/js/src/build/moz.build
+@@ -83,15 +83,3 @@
+ NO_EXPAND_LIBS = True
+
+ DIST_INSTALL = True
+-
+-# Run SpiderMonkey style checker after linking the static library. This avoids
+-# running the script for no-op builds.
+-GENERATED_FILES += ['spidermonkey_checks']
+-run_checks = GENERATED_FILES['spidermonkey_checks']
+-run_checks.script = '/config/run_spidermonkey_checks.py'
+-run_checks.inputs += [
+- '!%sjs_static.%s' % (CONFIG['LIB_PREFIX'], CONFIG['LIB_SUFFIX']),
+- '/config/check_spidermonkey_style.py',
+- '/config/check_macroassembler_style.py',
+- '/config/check_js_opcode.py'
+-]