summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaap de Wolff <info@jasoon.nl>2018-02-12 12:23:41 +0100
committerCorinna Vinschen <corinna@vinschen.de>2018-02-16 12:16:07 +0100
commitfdc5f5280880b1a31386a713512f092bee5a9a57 (patch)
treeaa09ade577f6ea2cb602f1e0f427e0430fa3470e
parent913c6ca2c1467893bb0c3b7598cccdb02ca9f598 (diff)
downloadcygnal-fdc5f5280880b1a31386a713512f092bee5a9a57.tar.gz
cygnal-fdc5f5280880b1a31386a713512f092bee5a9a57.tar.bz2
cygnal-fdc5f5280880b1a31386a713512f092bee5a9a57.zip
Add define _COMPILING_NEWLIB for arm to configure.host, as it is obviously needed
Signed-off-by: Jaap de Wolff <jaap@stretch.de-wolff.org>
-rw-r--r--newlib/configure.host1
1 files changed, 1 insertions, 0 deletions
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"