diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-12-22 21:24:32 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-12-22 21:24:32 +0000 |
commit | 6ae64d25832babd791a3991c34f23c90fd4966ae (patch) | |
tree | 5505da51641f72f743e0fd8f14f32490e04d98ed /ldso | |
parent | 433ccbdd22063df62307459bb9d73b2e9016a5db (diff) |
Patch from Peter S. Mazinger:
Seperate out security features into a separate menu
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ldso/ldso/Makefile b/ldso/ldso/Makefile index ef48e3358..69990b772 100644 --- a/ldso/ldso/Makefile +++ b/ldso/ldso/Makefile @@ -42,6 +42,9 @@ XXFLAGS:=$(XXFLAGS:-O0=-O1) XXFLAGS+=-isystem $(shell $(CC) -print-file-name=include) LDFLAGS=$(CPU_LDFLAGS-y) -z now -Bsymbolic -shared --warn-common --export-dynamic --sort-common \ -z combreloc --discard-locals --discard-all --no-undefined +ifeq ($(UCLIBC_BUILD_RELRO),y) + LDFLAGS+=-z relro +endif CSRC= ldso.c COBJS=$(patsubst %.c,%.o, $(CSRC)) |