Deleted Added
full compact
Makefile.inc (256281) Makefile.inc (271135)
1# $FreeBSD: stable/10/sys/boot/efi/Makefile.inc 241785 2012-10-20 16:57:23Z avg $
1# $FreeBSD: stable/10/sys/boot/efi/Makefile.inc 271135 2014-09-04 21:01:10Z emaste $
2
3BINDIR?= /boot
4
2
3BINDIR?= /boot
4
5.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
5.if ${MACHINE_CPUARCH} == "i386"
6CFLAGS+= -march=i386
7.endif
8
6CFLAGS+= -march=i386
7.endif
8
9.if ${MACHINE_CPUARCH} == "amd64"
10CFLAGS+= -m32
11ACFLAGS+= -m32
12LDFLAGS+= -m elf_i386_fbsd
13AFLAGS+= --32
14.endif
15
16# Options used when building app-specific efi components
17CFLAGS+= -ffreestanding -fshort-wchar -Wformat
18LDFLAGS+= -nostdlib
19
20.include "../Makefile.inc"
9# Options used when building app-specific efi components
10CFLAGS+= -ffreestanding -fshort-wchar -Wformat
11LDFLAGS+= -nostdlib
12
13.include "../Makefile.inc"