From f5b7120cee1ec12b8afabd60cd920531cb4e3e77 Mon Sep 17 00:00:00 2001 From: Orion Hodson Date: Thu, 26 Oct 2023 17:38:06 +0100 Subject: [PATCH] Only use -gsimple-template-names with clang This option is not supported by clang-cl.exe which we use on Windows. --- .bazelrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bazelrc b/.bazelrc index b7ecb8fae6a..470b182fc27 100644 --- a/.bazelrc +++ b/.bazelrc @@ -45,7 +45,7 @@ build:benchmark --config=profile build:debug -c dbg # Using simple template names saves around 5% of binary size of workerd. -build:debug --copt='-gsimple-template-names' +build:unix --cxxopt='-gsimple-template-names' --host_cxxopt='-gsimple-template-names' # Define a config mode which is fastbuild but with basic debug info. build:fastdbg -c fastbuild