Skip to content

Commit 38d4240

Browse files
committed
build: compile with C++20 support
nodejs/node#52838
1 parent 4288807 commit 38d4240

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

patches/node/build_add_gn_build_files.patch

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,10 +1189,10 @@ index 0000000000000000000000000000000000000000..af9cbada10203b387fb9732b346583b1
11891189
+}
11901190
diff --git a/filenames.json b/filenames.json
11911191
new file mode 100644
1192-
index 0000000000000000000000000000000000000000..f2e088e78ded66eb4a8f060e880a557c3415fbf1
1192+
index 0000000000000000000000000000000000000000..7900ee5299a8ff2cd73fa99bcf43fe3dcd5263f7
11931193
--- /dev/null
11941194
+++ b/filenames.json
1195-
@@ -0,0 +1,756 @@
1195+
@@ -0,0 +1,755 @@
11961196
+// This file is automatically generated by generate_gn_filenames_json.py
11971197
+// DO NOT EDIT
11981198
+{
@@ -1945,8 +1945,7 @@ index 0000000000000000000000000000000000000000..f2e088e78ded66eb4a8f060e880a557c
19451945
+ "src/util.h",
19461946
+ "src/util-inl.h",
19471947
+ "//v8/include/v8.h",
1948-
+ "deps/postject/postject-api.h",
1949-
+ "common_node.gypi"
1948+
+ "deps/postject/postject-api.h"
19501949
+ ]
19511950
+}
19521951
diff --git a/src/inspector/BUILD.gn b/src/inspector/BUILD.gn
@@ -2199,10 +2198,10 @@ index 1cb85b9058d06555382e565dc32192a9fa48ed9f..cec9be01abd107e8612f70daf19b4834
21992198
// bootstrap scripts, whose source are bundled into the binary as static data.
22002199
diff --git a/tools/generate_gn_filenames_json.py b/tools/generate_gn_filenames_json.py
22012200
new file mode 100755
2202-
index 0000000000000000000000000000000000000000..37c16859003e61636fe2f1a4040b1e904c472d0b
2201+
index 0000000000000000000000000000000000000000..54b761d91734aead50aeeba8c91a1262531df713
22032202
--- /dev/null
22042203
+++ b/tools/generate_gn_filenames_json.py
2205-
@@ -0,0 +1,117 @@
2204+
@@ -0,0 +1,118 @@
22062205
+#!/usr/bin/env python3
22072206
+import json
22082207
+import os
@@ -2254,6 +2253,7 @@ index 0000000000000000000000000000000000000000..37c16859003e61636fe2f1a4040b1e90
22542253
+ '<@(deps_files)',
22552254
+ '<@(node_sources)',
22562255
+ 'common.gypi',
2256+
+ 'common_node.gypi',
22572257
+ '<(SHARED_INTERMEDIATE_DIR)/node_javascript.cc',
22582258
+ }
22592259
+

0 commit comments

Comments
 (0)