[clang] [Driver] Add winsysroot alias to the GNU driver (PR #94731)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 10 01:13:23 PDT 2024


https://github.com/Andarwinux updated https://github.com/llvm/llvm-project/pull/94731

>From ead3de5bed1f2ef00e1e9e69755a8a171e20bb46 Mon Sep 17 00:00:00 2001
From: Andarwinux <144242044+Andarwinux at users.noreply.github.com>
Date: Fri, 7 Jun 2024 07:07:40 +0000
Subject: [PATCH] [Driver] Add winsysroot alias to the GNU driver

fixes #91216
---
 clang/include/clang/Driver/Options.td | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td
index d44faa55c456f..1cce7a5146dd8 100644
--- a/clang/include/clang/Driver/Options.td
+++ b/clang/include/clang/Driver/Options.td
@@ -8569,6 +8569,8 @@ def : Separate<["-"], "Xmicrosoft-windows-sdk-root">,
     Alias<_SLASH_winsdkdir>;
 def : Separate<["-"], "Xmicrosoft-windows-sdk-version">,
     Alias<_SLASH_winsdkversion>;
+def : Separate<["-"], "Xmicrosoft-windows-sys-root">,
+    Alias<_SLASH_winsysroot>;
 
 // Ignored:
 



More information about the cfe-commits mailing list