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.
This commit is contained in:
parent
9edf0810db
commit
f53ce01125
|
@ -438,6 +438,9 @@ case "${host}" in
|
||||||
sys_dir=a29khif
|
sys_dir=a29khif
|
||||||
signal_dir=
|
signal_dir=
|
||||||
;;
|
;;
|
||||||
|
aarch64*-*-*)
|
||||||
|
newlib_cflags="${newlib_cflags} -D_COMPILING_NEWLIB"
|
||||||
|
;;
|
||||||
arm*-*-*)
|
arm*-*-*)
|
||||||
newlib_cflags="${newlib_cflags} -D_COMPILING_NEWLIB"
|
newlib_cflags="${newlib_cflags} -D_COMPILING_NEWLIB"
|
||||||
sys_dir=arm
|
sys_dir=arm
|
||||||
|
|
Loading…
Reference in New Issue