projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix build on rhES5
[deliverable/binutils-gdb.git]
/
gdbsupport
/
common.m4
diff --git
a/gdbsupport/common.m4
b/gdbsupport/common.m4
index 901c454ea8cbbb9c3ecf7aa8ff2978d70738cbc3..56a355e85b1ac2705c247de0fc4552c6b131c3fb 100644
(file)
--- a/
gdbsupport/common.m4
+++ b/
gdbsupport/common.m4
@@
-55,6
+55,11
@@
AC_DEFUN([GDB_AC_COMMON], [
ptrace64 sbrk setns sigaltstack sigprocmask \
setpgid setpgrp getrusage getauxval sigtimedwait])
ptrace64 sbrk setns sigaltstack sigprocmask \
setpgid setpgrp getrusage getauxval sigtimedwait])
+ # This is needed for RHEL 5 and uclibc-ng < 1.0.39.
+ # These did not define ADDR_NO_RANDOMIZE in sys/personality.h,
+ # only in linux/personality.h.
+ AC_CHECK_DECLS([ADDR_NO_RANDOMIZE],,, [#include <sys/personality.h>])
+
AC_CHECK_DECLS([strstr])
# ----------------------- #
AC_CHECK_DECLS([strstr])
# ----------------------- #
This page took
0.026448 seconds
and
4
git commands to generate.