mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-20 14:29:27 +00:00
llvm-ar: doExtract(): Write extracted files with F_Binary. It should fix llvm/test/Object/extract.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186503 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e8a2742352
commit
946dbd83df
@ -304,7 +304,7 @@ static void doExtract(StringRef Name, object::Archive::child_iterator I) {
|
||||
|
||||
int FD;
|
||||
failIfError(
|
||||
sys::fs::openFileForWrite(Storage.c_str(), FD, sys::fs::F_None, Mode),
|
||||
sys::fs::openFileForWrite(Storage.c_str(), FD, sys::fs::F_Binary, Mode),
|
||||
Storage.c_str());
|
||||
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user