mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-08 20:06:03 +03:00
Add -m64 switch to gcc calls on 64-bit platforms.
This commit is contained in:
parent
320c22810a
commit
287fa3446c
2 changed files with 8 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue