aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2011-10-01 10:43:48 -0400
committerKevin O'Connor <kevin@koconnor.net>2011-10-01 10:54:54 -0400
commitd2deae203dd58db6a9e9f2906dead311d6d07328 (patch)
tree25128614659cb51f5eb3014160c41033caea8432 /Makefile
parent58e6b3ff51a15329975b63f7fbc1e2f578291906 (diff)
downloadseabios-hppa-d2deae203dd58db6a9e9f2906dead311d6d07328.zip
seabios-hppa-d2deae203dd58db6a9e9f2906dead311d6d07328.tar.gz
seabios-hppa-d2deae203dd58db6a9e9f2906dead311d6d07328.tar.bz2
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--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 109091b..12adc4d 100644
--- a/Makefile
+++ b/Makefile
@@ -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 \