Skip to content

Commit a0bb37c

Browse files
committed
Fix build failure
1 parent 91ccb95 commit a0bb37c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Driver/ToolChains/Darwin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ void darwin::Linker::ConstructJob(Compilation &C, const JobAction &JA,
669669

670670
// Add local file paths to ensure the toolchain's libc++ is used instead of
671671
// the system's.
672-
ToolChain.AddFilePathLibArgs(Args, CmdArgs);
672+
getToolChain().AddFilePathLibArgs(Args, CmdArgs);
673673

674674
// Forward -ObjC when either -ObjC or -ObjC++ is used, to force loading
675675
// members of static archive libraries which implement Objective-C classes or

0 commit comments

Comments
 (0)