From 6ae64d25832babd791a3991c34f23c90fd4966ae Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 22 Dec 2004 21:24:32 +0000 Subject: Patch from Peter S. Mazinger: Seperate out security features into a separate menu --- libpthread/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libpthread') diff --git a/libpthread/Makefile b/libpthread/Makefile index 4a763ca78..6a3cc88d1 100644 --- a/libpthread/Makefile +++ b/libpthread/Makefile @@ -37,6 +37,12 @@ ifeq ($(strip $(UCLIBC_HAS_THREADS)),y) ifeq ($(strip $(PTHREADS_DEBUG_SUPPORT)),y) DIRS+=linuxthreads_db LDFLAGS_THREAD_DB:= $(CPU_LDFLAGS-y) -shared --warn-common --warn-once -z combreloc +ifeq ($(UCLIBC_BUILD_RELRO),y) + LDFLAGS_PTHREAD_DB+=-z relro +endif +ifeq ($(UCLIBC_BUILD_NOW),y) + LDFLAGS_PTHREAD_DB+=-z now +endif endif ifeq ($(DODEBUG),n) LDFLAGS_THREAD_DB+=-s -- cgit v1.2.3