Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2018-10-02 00:16:40 +0300
committerRichard Earnshaw <Richard.Earnshaw@arm.com>2018-10-05 15:27:34 +0300
commitf53ce0112552166df728bafce57739756a304108 (patch)
tree083f10fafa52cad9068d8bb699f477d33ba2aa44 /newlib/configure.host
parent9edf0810db87603fc5c71db20ffc5b955c9adc42 (diff)
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.
Diffstat (limited to 'newlib/configure.host')
-rw-r--r--newlib/configure.host3
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host
index c5b773465..9e809c9a8 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