This is the mail archive of the newlib-cvs@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] Define _COMPILING_NEWLIB on aarch64 to define function prototypes from unistd.h.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]