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:
parent
a24d62b533
commit
0362dbbd68
@ -20,6 +20,7 @@ CFLAGS+= -mno-aes
|
||||
|
||||
.if ${MACHINE_CPUARCH} == "aarch64"
|
||||
CFLAGS+= -fshort-wchar
|
||||
CFLAGS+= -fPIC
|
||||
.endif
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
Loading…
x
Reference in New Issue
Block a user