Gentoo-bug: https://bugs.gentoo.org/960019
Thanks-to: Guillaume Lespinasse

--- a/src/gyp/common.gypi
+++ b/src/gyp/common.gypi
@@ -219,7 +219,7 @@
           }],
           ['compiler_target=="clang" or compiler_target=="gcc"', {
             'cflags_cc': [
-              '-std=c++17',
+              '-std=c++20',
             ],
           }],
         ],
@@ -239,7 +239,7 @@
           }],
           ['compiler_host=="clang" or compiler_host=="gcc"', {
             'cflags_cc': [
-              '-std=c++17',
+              '-std=c++20',
             ],
           }],
         ],
