Mark as freestanding so libstd does not add in its startup code

This commit is contained in:
pjht 2024-03-21 08:42:56 -05:00
parent e8b988f824
commit 47aa183591
Signed by: pjht
GPG Key ID: 7B5F6AFBEC7EE78E

View File

@ -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