Skip to content

Apply default compile flags passed as attrs in Windows MSVC toolchain config#601

Closed
pikinier20 wants to merge 1 commit intobazelbuild:mainfrom
pikinier20:filip.zybala/msvc-compile-flags-fix
Closed

Apply default compile flags passed as attrs in Windows MSVC toolchain config#601
pikinier20 wants to merge 1 commit intobazelbuild:mainfrom
pikinier20:filip.zybala/msvc-compile-flags-fix

Conversation

@pikinier20
Copy link
Copy Markdown
Contributor

This change allows customization of Windows toolchain.

In our project, we are building a custom toolchain based on LLVM. For simplicity, we reuse the creation of toolchain config for Windows. However, we noticed that the compile flags passed by attributes are not passed to the compiler.

Since the same logic is present in creating GNU config, I assumed that somebody previously just missed it.

@google-cla
Copy link
Copy Markdown

google-cla Bot commented Feb 11, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link
Copy Markdown
Collaborator

@fmeum fmeum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Collaborator

@trybka trybka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this was just an oversight. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants