Browse Source

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.
sh3port
Christophe Lyon 3 years ago
committed by Richard Earnshaw
parent
commit
f53ce01125
  1. 3
      newlib/configure.host

3
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

Loading…
Cancel
Save