public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Define _COMPILING_NEWLIB on aarch64 to define function prototypes from unistd.h.
@ 2018-10-05 12:28 Richard Earnshaw
  0 siblings, 0 replies; only message in thread
From: Richard Earnshaw @ 2018-10-05 12:28 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=f53ce0112552166df728bafce57739756a304108

commit f53ce0112552166df728bafce57739756a304108
Author: Christophe Lyon <christophe.lyon@linaro.org>
Date:   Mon Oct 1 21:16:40 2018 +0000

    Define _COMPILING_NEWLIB on aarch64 to define function prototypes from unistd.h.
    
        2018-10-01  Christophe Lyon  <christophe.lyon@linaro.org>
    
        	* newlib/configure.host: Define _COMPILING_NEWLIB for aarch64.

Diff:
---
 newlib/configure.host | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/newlib/configure.host b/newlib/configure.host
index c5b7734..9e809c9 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -438,6 +438,9 @@ case "${host}" in
 	sys_dir=a29khif
 	signal_dir=
 	;;
+  aarch64*-*-*)
+	newlib_cflags="${newlib_cflags} -D_COMPILING_NEWLIB"
+	;;
   arm*-*-*)
 	newlib_cflags="${newlib_cflags} -D_COMPILING_NEWLIB"
 	sys_dir=arm


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-10-05 12:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-05 12:28 [newlib-cygwin] Define _COMPILING_NEWLIB on aarch64 to define function prototypes from unistd.h Richard Earnshaw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).