Files
termux-packages/packages/nodejs-lts/deps-v8-src-flags-flag-definitions.h.patch
termux-pacman-bot 04edb498c3 chore(main/nodejs-lts): pick up changes for how we configure from nodejs
Although --debug is not needed currently for nodejs-lts, let's pick it
up before it is actually needed. Also would make things much more
standard between the two packages
2025-12-10 10:42:59 +00:00

21 lines
784 B
Diff

--- ./deps/v8/src/flags/flag-definitions.h.orig 2024-02-16 18:11:37.252847521 +0530
+++ ./deps/v8/src/flags/flag-definitions.h 2024-02-16 18:32:55.354489365 +0530
@@ -2594,7 +2594,7 @@
#define DEFAULT_PERF_BASIC_PROF_PATH "/data/local/tmp"
#define DEFAULT_PERF_PROF_PATH DEFAULT_PERF_BASIC_PROF_PATH
#else
-#define DEFAULT_PERF_BASIC_PROF_PATH "/tmp"
+#define DEFAULT_PERF_BASIC_PROF_PATH "@TERMUX_PREFIX@/tmp"
#define DEFAULT_PERF_PROF_PATH "."
#endif
@@ -2639,7 +2639,7 @@
#undef DEFINE_PERF_PROF_BOOL
#undef DEFINE_PERF_PROF_IMPLICATION
-DEFINE_STRING(gc_fake_mmap, "/tmp/__v8_gc__",
+DEFINE_STRING(gc_fake_mmap, "@TERMUX_PREFIX@/tmp/__v8_gc__",
"Specify the name of the file for fake gc mmap used in ll_prof")
DEFINE_BOOL(redirect_code_traces, false,