Define HAVE_Z_RELRO if the linker supports -z relro.

This commit is contained in:
Ulrich Drepper 2004-01-15 06:26:14 +00:00
parent d38ba88ab0
commit cb6ee14a12
1 changed files with 3 additions and 0 deletions

View File

@ -1292,6 +1292,9 @@ EOF
libc_cv_z_relro=no
fi])
AC_SUBST(libc_cv_z_relro)
if test $libc_cv_z_relro = yes; then
AC_DEFINE(HAVE_Z_RELRO)
fi
AC_CACHE_CHECK(for -Bgroup option,
libc_cv_Bgroup, [dnl