mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-11 05:13:30 +00:00
packages/swift
This commit is contained in:
13
packages/swift/llbuild-lib-BuildSystem-BuildSystem.cpp.patch
Normal file
13
packages/swift/llbuild-lib-BuildSystem-BuildSystem.cpp.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/llbuild/lib/BuildSystem/BuildSystem.cpp b/llbuild/lib/BuildSystem/BuildSystem.cpp
|
||||
index 297dee34..40df58ca 100644
|
||||
--- a/llbuild/lib/BuildSystem/BuildSystem.cpp
|
||||
+++ b/llbuild/lib/BuildSystem/BuildSystem.cpp
|
||||
@@ -3269,7 +3269,7 @@ class ArchiveShellCommand : public ExternalCommand {
|
||||
if (const char *ar = std::getenv("AR"))
|
||||
args.push_back(std::string(ar));
|
||||
else
|
||||
- args.push_back("ar");
|
||||
+ args.push_back("llvm-ar");
|
||||
args.push_back("cr");
|
||||
args.push_back(archiveName);
|
||||
args.insert(args.end(), archiveInputs.begin(), archiveInputs.end());
|
||||
Reference in New Issue
Block a user