Mark as freestanding so libstd does not add in its startup code
This commit is contained in:
parent
e8b988f824
commit
47aa183591
2
Tupfile
2
Tupfile
@ -1,7 +1,7 @@
|
||||
include_rules
|
||||
|
||||
LDFLAGS = -z max-page-size=4096 --orphan-handling=error -T kernel.ld
|
||||
ASFLAGS = -m68010 -spaces -Felf -ldots -align -quiet -x -nowarn=62
|
||||
ASFLAGS = -m68010 -spaces -Felf -ldots -align -quiet -x -nowarn=62 -D__FREESTANDING
|
||||
|
||||
: foreach *.68k | ../<include> |> vasmm68k_mot $(ASFLAGS) -I../sysroot/usr/include -o %o %f |> %B.o
|
||||
: *.o | kernel.ld ../<libstd> |> m68k-elf-ld $(LDFLAGS) -o %o %f '%<libstd>' |> kernel
|
||||
|
Loading…
Reference in New Issue
Block a user