File: v8-no-static-zlib.patch

package info (click to toggle)
nodejs 24.11.1%2Bdfsg%2B~cs24.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 252,928 kB
  • sloc: cpp: 1,728,964; javascript: 473,397; ansic: 113,512; python: 60,329; sh: 4,344; makefile: 3,026; asm: 1,728; pascal: 1,562; perl: 494; lisp: 222; xml: 39
file content (26 lines) | stat: -rw-r--r-- 728 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: compile v8 without zlib static lib
 it should have a minor performance impact
Author: Jérémy Lal <kapouer@melix.org>
Last-Update: 2023-12-16
Forwarded: https://github.com/nodejs/node/issues/33848
--- a/tools/v8_gypfiles/features.gypi
+++ b/tools/v8_gypfiles/features.gypi
@@ -291,7 +291,7 @@
 
     # Compile V8 using zlib as dependency.
     # Sets -DV8_USE_ZLIB
-    'v8_use_zlib%': 1,
+    'v8_use_zlib%': 0,
 
     # Enable Sparkplug
     # Sets -DV8_ENABLE_SPARKPLUG.
--- a/tools/v8_gypfiles/v8.gyp
+++ b/tools/v8_gypfiles/v8.gyp
@@ -1071,7 +1071,6 @@
         'run_torque',
         'v8_internal_headers',
         'v8_maybe_icu',
-        'v8_zlib',
         'v8_pch',
         'fp16',
         'highway',