mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-01 12:33:13 +01:00
Make ldc compatible with LLVM 3.4
Development of LLVM 3.4 started with a cleanup of the path class (PathV1). The changes here let ldc compile at least with rev. 184039 of LLVM.
This commit is contained in:
@@ -83,7 +83,8 @@ static void assemble(const llvm::sys::Path& asmpath, const llvm::sys::Path& objp
|
||||
args.push_back("-m32");
|
||||
|
||||
// Run the compiler to assembly the program.
|
||||
int R = executeToolAndWait(getGcc(), args, global.params.verbose);
|
||||
llvm::sys::Path gcc(getGcc());
|
||||
int R = executeToolAndWait(gcc, args, global.params.verbose);
|
||||
if (R)
|
||||
{
|
||||
error("Error while invoking external assembler.");
|
||||
|
||||
Reference in New Issue
Block a user