Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2016 22:30:15 -0400
From:      Warner Losh <wlosh@bsdimp.com>
To:        Andrew Turner <andrew@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r301706 - head/sys/boot/efi
Message-ID:  <ADA8EE73-8FC0-43A1-888A-4608C7057BE3@bsdimp.com>
In-Reply-To: <201606082323.u58NNGsP065228@repo.freebsd.org>
References:  <201606082323.u58NNGsP065228@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Jun 8, 2016, at 7:23 PM, Andrew Turner <andrew@FreeBSD.org> wrote:
>=20
> Author: andrew
> Date: Wed Jun  8 23:23:16 2016
> New Revision: 301706
> URL: https://svnweb.freebsd.org/changeset/base/301706
>=20
> 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=E2=80=99re now doing=E2=80=A6

Warner

>  Sponsored by:	ABT Systems Ltd
>=20
> Modified:
>  head/sys/boot/efi/Makefile.inc
>=20
> Modified: head/sys/boot/efi/Makefile.inc
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- 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+=3D	-mno-red-zone
> CFLAGS+=3D	-mno-aes
> .endif
>=20
> +.if ${MACHINE_CPUARCH} =3D=3D "aarch64"
> +CFLAGS+=3D	-fshort-wchar
> +.endif
> +
> .include "../Makefile.inc"
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ADA8EE73-8FC0-43A1-888A-4608C7057BE3>