mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #72352 from compnerd/sysroot
Driver: introduce `-sysroot` option for non-Darwin targets
This commit is contained in:
@@ -2112,6 +2112,9 @@ static bool ParseSearchPathArgs(SearchPathOptions &Opts, ArgList &Args,
|
||||
if (const Arg *A = Args.getLastArg(OPT_visualc_tools_version))
|
||||
Opts.setVCToolsVersion(A->getValue());
|
||||
|
||||
if (const Arg *A = Args.getLastArg(OPT_sysroot))
|
||||
Opts.setSysRoot(A->getValue());
|
||||
|
||||
if (const Arg *A = Args.getLastArg(OPT_resource_dir))
|
||||
Opts.RuntimeResourcePath = A->getValue();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user