diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2021-08-23 17:27:25 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2021-09-01 19:34:07 +0100 |
commit | fbb334a6acc5cc5d8944712daeda8089ef1d7fd2 (patch) | |
tree | e9fa8e16ccad424124429afa63a3a352e2044d2d /libcpp/identifiers.c | |
parent | a88280cff3436d0b6ab454514e5a3b97a543e9a5 (diff) | |
download | gcc-fbb334a6acc5cc5d8944712daeda8089ef1d7fd2.zip gcc-fbb334a6acc5cc5d8944712daeda8089ef1d7fd2.tar.gz gcc-fbb334a6acc5cc5d8944712daeda8089ef1d7fd2.tar.bz2 |
libiberty, configure, Darwin: Avoid detecting deprecated sbrk.
Darwin provides an implementation of sbrk, which is detected by
the configuration process. However, it is deprecated which leads
to build warnings. The malloc-based implementation is more
suitable. This patch removes sbrk from the functions searched
for Darwin.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
libiberty/ChangeLog:
* configure: Regenerate.
* configure.ac: Do not search for sbrk on Darwin.
* xmalloc.c: Do not declare sbrk unless it has been found
by configure.
Diffstat (limited to 'libcpp/identifiers.c')
0 files changed, 0 insertions, 0 deletions