Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BaseTools: Add /DRIVER to CLANGPDB link flags #10638

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

deeglaze
Copy link
Contributor

Description

This quiets the warning reported in Issue #10637. /ALIGN is not expected to be overridden without /DRIVER, which is correctly passed in the MSVC linker flags.

  • Breaking change?
  • Impacts security?
  • Includes tests?

How This Was Tested

Built before and after to see the warning disappear.

Integration Instructions

N/A

This quiets the warning reported in Issue tianocore#10637.

Signed-off-by: Dionna Glaze <[email protected]>
@deeglaze deeglaze marked this pull request as ready for review January 17, 2025 01:20
@mdkinney
Copy link
Member

I don't think we want this at this scope because it can not be overriden. When building apps like GoogleTest we do not want /DRIVER.

@deeglaze
Copy link
Contributor Author

Why is /DRIVER in all the VS build type DLINK_FLAGS then?

@mdkinney
Copy link
Member

I believe it is required for the UEFI module types. I am not sure if that has changes with newer compilers/linkers or not.

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.

2 participants