mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-30 11:33:14 +01:00
Add -m64 switch to gcc calls on 64-bit platforms.
This commit is contained in:
@@ -306,6 +306,10 @@ int linkObjToExecutable(const char* argv0)
|
||||
break;
|
||||
}
|
||||
|
||||
//FIXME: enforce 64 bit
|
||||
if (global.params.is64bit)
|
||||
args.push_back("-m64");
|
||||
|
||||
// print link command?
|
||||
if (!global.params.quiet || global.params.verbose)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user