[all-commits] [llvm/llvm-project] 85d250: Use the Windows SDK arguments over the environment...

Fabrice de Gans via All-commits all-commits at lists.llvm.org
Tue Jun 24 09:39:32 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85d250c96ee166fa5989e45f3dd22e688c3699c1
      https://github.com/llvm/llvm-project/commit/85d250c96ee166fa5989e45f3dd22e688c3699c1
  Author: Fabrice de Gans <Steelskin at users.noreply.github.com>
  Date:   2025-06-24 (Tue, 24 Jun 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/MSVC.cpp
    M clang/test/Driver/cl-include.c
    M lld/COFF/Driver.cpp
    M lld/test/COFF/winsysroot.test

  Log Message:
  -----------
  Use the Windows SDK arguments over the environment (#144805)

If any of the Windows SDK (and MSVC)-related argument is passed in the
command line, they should take priority over the environment variables
like `INCLUDE` or `LIB` set by vcvarsall from the Visual Studio
Developer Environment on Windows.

These changes ensure that all of the arguments related to VC Tools and
the Windows SDK cause the driver to ignore the environment.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list