Add -fPIC for amd64

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
emaste 2014-04-03 23:10:23 +00:00
parent 250b084dd5
commit 57c8841c16

View File

@ -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