1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-17 17:20:29 +02:00

Link with `-z relro' when available.

* acinclude.m4 (GUILE_GNU_LD_RELRO): New macro.

* configure.in: Use `GUILE_GNU_LD_RELRO'.
This commit is contained in:
Ludovic Courtès 2009-02-12 23:20:15 +01:00
parent 7b96f3ddfd
commit 9d19a9d61c
2 changed files with 22 additions and 0 deletions

View file

@ -1439,6 +1439,10 @@ esac
AC_SUBST(GCC_CFLAGS)
# Check for GNU ld's "-z relro".
GUILE_GNU_LD_RELRO
## If we're creating a shared library (using libtool!), then we'll
## need to generate a list of .lo files corresponding to the .o files
## given in LIBOBJS. We'll call it LIBLOBJS.