Eric Andersen 19 years ago
parent
commit
45eb72e4a4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      libpthread/Makefile

+ 2 - 2
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)