Add -fPIC for amd64

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2014-04-03 23:10:23 +00:00
parent c8912fcbdf
commit b4b05481d9

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