Also set -fshort-wchar on arm64, this fixes parsing strings from UEFI,

e.g. on the command line.

Sponsored by:	ABT Systems Ltd
This commit is contained in:
Andrew Turner 2016-06-08 23:23:16 +00:00
parent 9f51f38916
commit 103dce1405

View File

@ -18,4 +18,8 @@ CFLAGS+= -mno-red-zone
CFLAGS+= -mno-aes CFLAGS+= -mno-aes
.endif .endif
.if ${MACHINE_CPUARCH} == "aarch64"
CFLAGS+= -fshort-wchar
.endif
.include "../Makefile.inc" .include "../Makefile.inc"