On arm64 build the efi loader with -fPIC. Without this clang 3.9 will

generate relocation in the self relocation code.

MFC after:	1 week
Sponsored by:	ABT Systems Ltd
This commit is contained in:
Andrew Turner 2016-10-31 11:13:36 +00:00
parent a24d62b533
commit 0362dbbd68
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308124

View File

@ -20,6 +20,7 @@ CFLAGS+= -mno-aes
.if ${MACHINE_CPUARCH} == "aarch64"
CFLAGS+= -fshort-wchar
CFLAGS+= -fPIC
.endif
.include "../Makefile.inc"