Add -ffreestanding to avoid printf/puts/putchar conversions
This commit is contained in:
parent
436122c232
commit
1d7914a5bd
@ -6,3 +6,4 @@ DPADD+= ${DESTDIR}/${LIBDIR}/libstand.a
|
||||
LIBSTANDDIR= ${.CURDIR}/../../../../lib/libstand
|
||||
LIBSTAND= -lstand
|
||||
LIBEFI= ${.OBJDIR}/../libefi/libefi.a
|
||||
CFLAGS+= -ffreestanding
|
||||
|
@ -15,6 +15,7 @@ CFLAGS+= -I${.CURDIR}/../include/${MACHINE_ARCH}
|
||||
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
|
||||
CFLAGS+= -I${.CURDIR}/../../efi/include
|
||||
CFLAGS+= -I${.CURDIR}/../../efi/include/${MACHINE_ARCH}
|
||||
CFLAGS+= -ffreestanding
|
||||
|
||||
# Pick up the bootstrap header for some interface items
|
||||
CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I.
|
||||
|
@ -41,6 +41,7 @@ CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}
|
||||
CFLAGS+= -I${.CURDIR}/../../.. -I.
|
||||
CFLAGS+= -I${.CURDIR}/../libski
|
||||
CFLAGS+= -DLOADER
|
||||
CFLAGS+= -ffreestanding
|
||||
|
||||
LDFLAGS= -nostdlib -T ${.CURDIR}/ldscript.ia64
|
||||
|
||||
|
@ -41,6 +41,7 @@ CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}
|
||||
CFLAGS+= -I${.CURDIR}/../../.. -I.
|
||||
CFLAGS+= -I${.CURDIR}/../libski
|
||||
CFLAGS+= -DLOADER
|
||||
CFLAGS+= -ffreestanding
|
||||
|
||||
LDFLAGS= -nostdlib -T ${.CURDIR}/ldscript.ia64
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user