[PATCH 1/5] Add define _COMPILING_NEWLIB for arm to configure.host, as it is obviously needed

Corinna Vinschen vinschen@redhat.com
Tue Feb 13 09:42:00 GMT 2018


This patchset looks good to me, but I'd like to have some input from the
ARM guys.


Thanks,
Corinna


On Feb 12 12:23, Jaap de Wolff wrote:
> Signed-off-by: Jaap de Wolff <jaap@stretch.de-wolff.org>
> ---
>  newlib/configure.host | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/newlib/configure.host b/newlib/configure.host
> index eb645868b..5985f1376 100644
> --- a/newlib/configure.host
> +++ b/newlib/configure.host
> @@ -410,6 +410,7 @@ case "${host}" in
>  	signal_dir=
>  	;;
>    arm*-*-*)
> +	newlib_cflags="${newlib_cflags} -D_COMPILING_NEWLIB"
>  	sys_dir=arm
>  	if [ "x${newlib_may_supply_syscalls}" = "xno" ] ; then
>  	  have_crt0="no"
> -- 
> 2.11.0

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20180213/2376f4c6/attachment.sig>


More information about the Newlib mailing list