mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
After telling GCC to type of the input file with -x asm/-x c, switch back to
-x none, to not foul up autodetection of .a file or .dylibs. llvm-svn: 28741
This commit is contained in:
parent
cd37f47980
commit
f9bb91746c
@ -405,6 +405,8 @@ int GCC::ExecuteProgram(const std::string &ProgramFile,
|
||||
#endif
|
||||
}
|
||||
GCCArgs.push_back(ProgramFile.c_str()); // Specify the input filename...
|
||||
GCCArgs.push_back("-x");
|
||||
GCCArgs.push_back("none");
|
||||
GCCArgs.push_back("-o");
|
||||
sys::Path OutputBinary (ProgramFile+".gcc.exe");
|
||||
OutputBinary.makeUnique();
|
||||
|
Loading…
x
Reference in New Issue
Block a user