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>
This commit is contained in:
Jaap de Wolff 2018-02-12 12:23:41 +01:00 committed by Corinna Vinschen
parent 913c6ca2c1
commit fdc5f52808
1 changed files with 1 additions and 0 deletions

View File

@ -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"