summaryrefslogtreecommitdiff
path: root/libpthread/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/Makefile')
-rw-r--r--libpthread/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/Makefile b/libpthread/Makefile
index 6a3cc88d1..37985e7ed 100644
--- a/libpthread/Makefile
+++ b/libpthread/Makefile
@@ -38,10 +38,10 @@ 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
+ LDFLAGS_THREAD+=-z relro
endif
ifeq ($(UCLIBC_BUILD_NOW),y)
- LDFLAGS_PTHREAD_DB+=-z now
+ LDFLAGS_THREAD+=-z now
endif
endif
ifeq ($(DODEBUG),n)