Skip to content

Commit bdc3346

Browse files
authored
Merge pull request #65108 from etcwilde/ewilde/gcc-toolchain-driver-option
Add new driver `-gcc-toolchain` argument
2 parents aa8eda0 + 82fbe9f commit bdc3346

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/swift/Option/Options.td

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1805,6 +1805,11 @@ def nostartfiles:
18051805
HelpHidden, NewDriverOnlyOption]>,
18061806
HelpText<"Do not link in the Swift language startup routines">;
18071807

1808+
def gcc_toolchain: Separate<["-"], "gcc-toolchain">,
1809+
Flags<[HelpHidden, NewDriverOnlyOption, ArgumentIsPath]>,
1810+
MetaVarName<"<path>">,
1811+
HelpText<"Specify a directory where the clang importer and clang linker can find headers and libraries">;
1812+
18081813
// END ONLY SUPPORTED IN NEW DRIVER
18091814

18101815
def load_plugin_library:

0 commit comments

Comments
 (0)