comparison gen/linker.cpp @ 902:893d72ab95d0

Add -m64 switch to gcc calls on 64-bit platforms.
author Christian Kamm <kamm incasoftware de>
date Fri, 23 Jan 2009 10:12:57 +0100
parents 177afbf5297b
children a8cb25d478c4
comparison
equal deleted inserted replaced
901:d51551cb3a85 902:893d72ab95d0
304 case OSWindows: 304 case OSWindows:
305 // FIXME: I'd assume kernel32 etc 305 // FIXME: I'd assume kernel32 etc
306 break; 306 break;
307 } 307 }
308 308
309 //FIXME: enforce 64 bit
310 if (global.params.is64bit)
311 args.push_back("-m64");
312
309 // print link command? 313 // print link command?
310 if (!global.params.quiet || global.params.verbose) 314 if (!global.params.quiet || global.params.verbose)
311 { 315 {
312 // Print it 316 // Print it
313 for (int i = 0; i < args.size(); i++) 317 for (int i = 0; i < args.size(); i++)