From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124414 invoked by alias); 5 Oct 2018 12:28:16 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 124366 invoked by uid 9007); 5 Oct 2018 12:28:15 -0000 Date: Fri, 05 Oct 2018 12:28:00 -0000 Message-ID: <20181005122815.124363.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Richard Earnshaw To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] Define _COMPILING_NEWLIB on aarch64 to define function prototypes from unistd.h. X-Act-Checkin: newlib-cygwin X-Git-Author: Christophe Lyon X-Git-Refname: refs/heads/master X-Git-Oldrev: 9edf0810db87603fc5c71db20ffc5b955c9adc42 X-Git-Newrev: f53ce0112552166df728bafce57739756a304108 X-SW-Source: 2018-q4/txt/msg00002.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=f53ce0112552166df728bafce57739756a304108 commit f53ce0112552166df728bafce57739756a304108 Author: Christophe Lyon 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 * 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