Author: conversy
Date: 2023-10-20T22:31:58+05:30
New Revision: b081da5fab053df99e10656cb28bac5520bc0bec

URL: 
https://github.com/llvm/llvm-project/commit/b081da5fab053df99e10656cb28bac5520bc0bec
DIFF: 
https://github.com/llvm/llvm-project/commit/b081da5fab053df99e10656cb28bac5520bc0bec.diff

LOG: clang-linker-wrapper/LinkerWrapperOpts.td: "--sysroot" => "--sysroot=" 
(#65313)

"--sysroot"
should be 
"--sysroot="

since it's related to
OPT_sysroot_EQ
and not a
OPT_sysroot

Added: 
    

Modified: 
    clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td

Removed: 
    


################################################################################
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">;


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to