Do not use libiberty's getpagesize on Android
libiberty/ChangeLog: * configure.ac: Set AC_CV_FUNC_GETPAGESIZE to "yes" on Android hosts. * configure: Regenerate. From-SVN: r229893
This commit is contained in:
parent
d9f4ea18ac
commit
41fdbd5440
@ -1,3 +1,9 @@
|
||||
2015-11-06 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* configure.ac: Set AC_CV_FUNC_GETPAGESIZE to "yes" on
|
||||
Android hosts.
|
||||
* configure: Regenerate.
|
||||
|
||||
2015-10-28 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* Makefile.in (TAGS): Fix for separate build directory.
|
||||
|
6
libiberty/configure
vendored
6
libiberty/configure
vendored
@ -6224,6 +6224,12 @@ if test -z "${setobjs}"; then
|
||||
|
||||
case "${host}" in
|
||||
|
||||
*-*-android*)
|
||||
# On android, getpagesize is defined in unistd.h as a static inline
|
||||
# function, which AC_CHECK_FUNCS does not handle properly.
|
||||
ac_cv_func_getpagesize=yes
|
||||
;;
|
||||
|
||||
*-*-mingw32*)
|
||||
# Under mingw32, sys_nerr and sys_errlist exist, but they are
|
||||
# macros, so the test below won't find them.
|
||||
|
@ -600,6 +600,12 @@ if test -z "${setobjs}"; then
|
||||
|
||||
case "${host}" in
|
||||
|
||||
*-*-android*)
|
||||
# On android, getpagesize is defined in unistd.h as a static inline
|
||||
# function, which AC_CHECK_FUNCS does not handle properly.
|
||||
ac_cv_func_getpagesize=yes
|
||||
;;
|
||||
|
||||
*-*-mingw32*)
|
||||
# Under mingw32, sys_nerr and sys_errlist exist, but they are
|
||||
# macros, so the test below won't find them.
|
||||
|
Loading…
x
Reference in New Issue
Block a user