svn commit: r301706 - head/sys/boot/efi
Warner Losh
wlosh at bsdimp.com
Thu Jun 9 02:30:17 UTC 2016
> On Jun 8, 2016, at 7:23 PM, Andrew Turner <andrew at FreeBSD.org> wrote:
>
> Author: andrew
> Date: Wed Jun 8 23:23:16 2016
> New Revision: 301706
> URL: https://svnweb.freebsd.org/changeset/base/301706
>
> Log:
> Also set -fshort-wchar on arm64, this fixes parsing strings from UEFI,
> e.g. on the command line.
Maybe this could be used to fix the %S issue instead of the kludge we’re now doing…
Warner
> Sponsored by: ABT Systems Ltd
>
> Modified:
> head/sys/boot/efi/Makefile.inc
>
> Modified: head/sys/boot/efi/Makefile.inc
> ==============================================================================
> --- head/sys/boot/efi/Makefile.inc Wed Jun 8 23:22:59 2016 (r301705)
> +++ head/sys/boot/efi/Makefile.inc Wed Jun 8 23:23:16 2016 (r301706)
> @@ -18,4 +18,8 @@ CFLAGS+= -mno-red-zone
> CFLAGS+= -mno-aes
> .endif
>
> +.if ${MACHINE_CPUARCH} == "aarch64"
> +CFLAGS+= -fshort-wchar
> +.endif
> +
> .include "../Makefile.inc"
>
More information about the svn-src-head
mailing list