mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-02 22:32:08 +00:00
Revert r118057, this is better fixed in appendSuffix itself.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118088 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b20594fce6
commit
ed724fd43a
@ -47,9 +47,7 @@ sys::Path llvm::FindExecutable(const std::string &ExeName,
|
||||
|
||||
if (!Result.isEmpty()) {
|
||||
Result.appendComponent(ExeName);
|
||||
StringRef EXESuffix = sys::Path::GetEXESuffix();
|
||||
if (!EXESuffix.empty())
|
||||
Result.appendSuffix(EXESuffix);
|
||||
Result.appendSuffix(sys::Path::GetEXESuffix());
|
||||
}
|
||||
|
||||
return Result;
|
||||
|
Loading…
x
Reference in New Issue
Block a user