mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
don't pass -f to llc, it doesn't have it anymore. Patch by Kevin Fan (PR7090)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103263 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ef0b14593b
commit
199b66a535
@ -266,7 +266,6 @@ static int GenerateAssembly(const std::string &OutputFilename,
|
||||
// We will use GCC to assemble the program so set the assembly syntax to AT&T,
|
||||
// regardless of what the target in the bitcode file is.
|
||||
args.push_back("-x86-asm-syntax=att");
|
||||
args.push_back("-f");
|
||||
args.push_back("-o");
|
||||
args.push_back(OutputFilename.c_str());
|
||||
args.push_back(InputFilename.c_str());
|
||||
@ -289,7 +288,6 @@ static int GenerateCFile(const std::string &OutputFile,
|
||||
std::vector<const char*> args;
|
||||
args.push_back(llc.c_str());
|
||||
args.push_back("-march=c");
|
||||
args.push_back("-f");
|
||||
args.push_back("-o");
|
||||
args.push_back(OutputFile.c_str());
|
||||
args.push_back(InputFile.c_str());
|
||||
|
Loading…
x
Reference in New Issue
Block a user