--- tools/v8_gypfiles/v8.gyp.orig 2023-05-16 06:58:22 UTC +++ tools/v8_gypfiles/v8.gyp @@ -1091,7 +1091,7 @@ }], # Platforms that don't have Compare-And-Swap (CAS) support need to link atomic library # to implement atomic memory access - ['v8_current_cpu in ["mips64", "mips64el", "ppc", "arm", "riscv64", "loong64"]', { + ['v8_current_cpu in ["mips64", "mips64el", "ppc", "riscv64", "loong64"]', { 'link_settings': { 'libraries': ['-latomic', ], },