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:
parent
9f51f38916
commit
103dce1405
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user