diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2011-10-01 10:43:48 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2011-10-01 10:54:54 -0400 |
commit | d2deae203dd58db6a9e9f2906dead311d6d07328 (patch) | |
tree | 25128614659cb51f5eb3014160c41033caea8432 /Makefile | |
parent | 58e6b3ff51a15329975b63f7fbc1e2f578291906 (diff) | |
download | seabios-d2deae203dd58db6a9e9f2906dead311d6d07328.tar.gz |
Reorder build objects to work around gcc bug with -combine.
Some versions of gcc have difficulties with externally visible
variables that are used before they are declared. Now that pmm.c
contains only 32bit code and has a reference to CanPreempt, make sure
the declaration of CanPreempt (in stacks.c) is compiled first.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ VERSION=pre-0.6.3-$(shell date +"%Y%m%d_%H%M%S")-$(shell hostname) OUT=out/ # Source files -SRCBOTH=misc.c pmm.c stacks.c output.c util.c block.c floppy.c ata.c mouse.c \ +SRCBOTH=misc.c stacks.c pmm.c output.c util.c block.c floppy.c ata.c mouse.c \ kbd.c pci.c serial.c clock.c pic.c cdrom.c ps2port.c smp.c resume.c \ pnpbios.c pirtable.c vgahooks.c ramdisk.c pcibios.c blockcmd.c \ usb.c usb-uhci.c usb-ohci.c usb-ehci.c usb-hid.c usb-msc.c \ |