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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=301706

View File

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