diff options
author | emaste <emaste@FreeBSD.org> | 2014-04-03 23:10:23 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2014-04-03 23:10:23 +0000 |
commit | 57c8841c16d0986e800a8b2742f7c359ebe8ba4f (patch) | |
tree | 011a4e8ec8d6cc796eef054c189700e9d89ca215 /sys/boot/efi/libefi | |
parent | 250b084dd5d35c623b7bf60d9041c2fdb5924aa6 (diff) | |
download | FreeBSD-src-57c8841c16d0986e800a8b2742f7c359ebe8ba4f.zip FreeBSD-src-57c8841c16d0986e800a8b2742f7c359ebe8ba4f.tar.gz |
Add -fPIC for amd64
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/boot/efi/libefi')
-rw-r--r-- | sys/boot/efi/libefi/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/boot/efi/libefi/Makefile b/sys/boot/efi/libefi/Makefile index d0cd698..df37f31 100644 --- a/sys/boot/efi/libefi/Makefile +++ b/sys/boot/efi/libefi/Makefile @@ -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 |