svn commit: r264092 - head/sys/boot/efi/libefi
Ed Maste
emaste at FreeBSD.org
Thu Apr 3 23:10:24 UTC 2014
Author: emaste
Date: Thu Apr 3 23:10:23 2014
New Revision: 264092
URL: http://svnweb.freebsd.org/changeset/base/264092
Log:
Add -fPIC for amd64
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/boot/efi/libefi/Makefile
Modified: head/sys/boot/efi/libefi/Makefile
==============================================================================
--- head/sys/boot/efi/libefi/Makefile Thu Apr 3 22:32:12 2014 (r264091)
+++ head/sys/boot/efi/libefi/Makefile Thu Apr 3 23:10:23 2014 (r264092)
@@ -6,6 +6,9 @@ INTERNALLIB=
SRCS= delay.c efi_console.c efinet.c efipart.c errno.c handles.c \
libefi.c time.c
+.if ${MACHINE_ARCH} == "amd64"
+CFLAGS+= -fPIC
+.endif
CFLAGS+= -I${.CURDIR}/../include
CFLAGS+= -I${.CURDIR}/../include/${MACHINE_CPUARCH}
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
More information about the svn-src-all
mailing list