[clang] clang-linker-wrapper/LinkerWrapperOpts.td: "--sysroot" => "--sysroot=" (PR #65313)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 5 04:22:18 PDT 2023
https://github.com/conversy created https://github.com/llvm/llvm-project/pull/65313:
"--sysroot"
should be
"--sysroot="
since it's related to
OPT_sysroot_EQ
and not a
OPT_sysroot
>From 972be4aba034d35a10ee0f5e8c82e2be3cdf0d3a Mon Sep 17 00:00:00 2001
From: conversy <conversy at gmail.com>
Date: Tue, 5 Sep 2023 13:20:36 +0200
Subject: [PATCH] clang-linker-wrapper/LinkerWrapperOpts.td: "sysroot" should
be followed with an equal sign
---
clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td b/clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td
index abab4d0b39b9059..2ce6ee0d21d1d6e 100644
--- a/clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td
+++ b/clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td
@@ -95,7 +95,7 @@ def offload_opt_eq_minus : Joined<["--", "-"], "offload-opt=-">, Flags<[HelpHidd
HelpText<"Options passed to LLVM">;
// Standard linker flags also used by the linker wrapper.
-def sysroot_EQ : Joined<["--"], "sysroot">, HelpText<"Set the system root">;
+def sysroot_EQ : Joined<["--"], "sysroot=">, HelpText<"Set the system root">;
def o : JoinedOrSeparate<["-"], "o">, MetaVarName<"<path>">,
HelpText<"Path to file to write output">;
More information about the cfe-commits
mailing list