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 /Rules.mak | |
parent | 433ccbdd22063df62307459bb9d73b2e9016a5db (diff) |
Patch from Peter S. Mazinger:
Seperate out security features into a separate menu
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -254,6 +254,14 @@ else LDFLAGS := $(CPU_LDFLAGS-y) -s -shared --warn-common --warn-once -z combreloc endif +ifeq ($(UCLIBC_BUILD_RELRO),y) +LDFLAGS+=-z relro +endif + +ifeq ($(UCLIBC_BUILD_NOW),y) +LDFLAGS+=-z now +endif + # Sigh, some stupid versions of gcc can't seem to cope with '-iwithprefix include' #CFLAGS+=-iwithprefix include CFLAGS+=-isystem $(shell $(CC) -print-file-name=include) |