9d2edd63d4
Go ahead and defined -D_STANDALONE for all targets (only strictly needed for some architecture, but harmless on those it isn't required for). Also add -msoft-float to all architectures uniformly rather that higgley piggley like it is today. Differential Revision: https://reviews.freebsd.org/D3496
22 lines
439 B
Makefile
22 lines
439 B
Makefile
# $FreeBSD$
|
|
|
|
BINDIR?= /boot
|
|
|
|
.if ${MACHINE_CPUARCH} == "i386"
|
|
CFLAGS+= -march=i386
|
|
CFLAGS+= -mno-aes
|
|
.endif
|
|
|
|
# Options used when building app-specific efi components
|
|
# See conf/kern.mk for the correct set of these
|
|
CFLAGS+= -ffreestanding -Wformat -msoft-float ${CFLAGS_NO_SIMD}
|
|
LDFLAGS+= -nostdlib
|
|
|
|
.if ${MACHINE_CPUARCH} == "amd64"
|
|
CFLAGS+= -fshort-wchar
|
|
CFLAGS+= -mno-red-zone
|
|
CFLAGS+= -mno-aes
|
|
.endif
|
|
|
|
.include "../Makefile.inc"
|