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:
committed by
Richard Earnshaw
parent
9edf0810db
commit
f53ce01125
@ -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
|
||||
|
Reference in New Issue
Block a user