From d6c5f2378d60938eee33cc6262bc3cf1be393896 Mon Sep 17 00:00:00 2001 From: Cheng Date: Mon, 20 May 2024 10:51:14 +0900 Subject: [PATCH] build: set "clang" in config.gypi in GN build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/53004 Reviewed-By: Yagiz Nizipli Reviewed-By: Michaƫl Zasso Reviewed-By: Luigi Pinca Reviewed-By: Mohammed Keyvanzadeh --- tools/generate_config_gypi.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/generate_config_gypi.py b/tools/generate_config_gypi.py index 948a740529ec34..071de13b11d7d3 100755 --- a/tools/generate_config_gypi.py +++ b/tools/generate_config_gypi.py @@ -79,6 +79,7 @@ def translate_config(out_dir, config, v8_config): }, 'variables': { 'asan': bool_string_to_number(config['is_asan']), + 'clang': bool_to_number(config['is_clang']), 'enable_lto': config['use_thin_lto'], 'is_debug': bool_string_to_number(config['is_debug']), 'llvm_version': 13,