File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -434,6 +434,7 @@ fn main(vec[str] args) {
434
434
435
435
//FIXME: Should we make the 'stage3's variable here?
436
436
let str glu = "stage3/glue.o" ;
437
+ let str main = "rt/main.o" ;
437
438
let str stage = "-Lstage3" ;
438
439
let vec[ str] gcc_args;
439
440
let str prog = "gcc" ;
@@ -450,21 +451,21 @@ fn main(vec[str] args) {
450
451
exe_suffix = ".exe" ;
451
452
gcc_args = common_cflags + [
452
453
"-march=i686" , "-O2" ,
453
- glu, "-o" ,
454
+ glu, main , "-o" ,
454
455
saved_out_filename + exe_suffix,
455
456
saved_out_filename + ".o" ] + common_libs;
456
457
}
457
458
case ( session:: os_macos) {
458
459
gcc_args = common_cflags + [
459
460
"-arch i386" , "-O0" , "-m32" ,
460
- glu, "-o" ,
461
+ glu, main , "-o" ,
461
462
saved_out_filename + exe_suffix,
462
463
saved_out_filename + ".o" ] + common_libs;
463
464
}
464
465
case ( session:: os_linux) {
465
466
gcc_args = common_cflags + [
466
467
"-march=i686" , "-O2" , "-m32" ,
467
- glu, "-o" ,
468
+ glu, main , "-o" ,
468
469
saved_out_filename + exe_suffix,
469
470
saved_out_filename + ".o" ] + common_libs;
470
471
}
You can’t perform that action at this time.
0 commit comments