Date: Fri, 7 Feb 2014 16:28:40 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r261603 - head/sys/boot/efi Message-ID: <201402071628.s17GSe85002611@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Fri Feb 7 16:28:40 2014 New Revision: 261603 URL: http://svnweb.freebsd.org/changeset/base/261603 Log: Don't force efi to a 32-bit build on amd64 Sponsored by: The FreeBSD Foundation Modified: head/sys/boot/efi/Makefile.inc Modified: head/sys/boot/efi/Makefile.inc ============================================================================== --- head/sys/boot/efi/Makefile.inc Fri Feb 7 15:26:19 2014 (r261602) +++ head/sys/boot/efi/Makefile.inc Fri Feb 7 16:28:40 2014 (r261603) @@ -2,17 +2,10 @@ BINDIR?= /boot -.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" +.if ${MACHINE_CPUARCH} == "i386" CFLAGS+= -march=i386 .endif -.if ${MACHINE_CPUARCH} == "amd64" -CFLAGS+= -m32 -ACFLAGS+= -m32 -LDFLAGS+= -m elf_i386_fbsd -AFLAGS+= --32 -.endif - # Options used when building app-specific efi components CFLAGS+= -ffreestanding -fshort-wchar -Wformat LDFLAGS+= -nostdlib
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402071628.s17GSe85002611>