diff options
author | andrew <andrew@FreeBSD.org> | 2016-06-08 23:23:16 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2016-06-08 23:23:16 +0000 |
commit | fa07f7770edf128343766865cc6aef4605510ba7 (patch) | |
tree | ff131d31e6d21ba8d2298cdcd63073168b9eae85 /sys/boot/efi | |
parent | 12720e106b2b62670123d1299ed1cca6d6b3cc74 (diff) | |
download | FreeBSD-src-fa07f7770edf128343766865cc6aef4605510ba7.zip FreeBSD-src-fa07f7770edf128343766865cc6aef4605510ba7.tar.gz |
Also set -fshort-wchar on arm64, this fixes parsing strings from UEFI,
e.g. on the command line.
Sponsored by: ABT Systems Ltd
Diffstat (limited to 'sys/boot/efi')
-rw-r--r-- | sys/boot/efi/Makefile.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/boot/efi/Makefile.inc b/sys/boot/efi/Makefile.inc index 9ed0cda..9d457f4 100644 --- a/sys/boot/efi/Makefile.inc +++ b/sys/boot/efi/Makefile.inc @@ -18,4 +18,8 @@ CFLAGS+= -mno-red-zone CFLAGS+= -mno-aes .endif +.if ${MACHINE_CPUARCH} == "aarch64" +CFLAGS+= -fshort-wchar +.endif + .include "../Makefile.inc" |