From 749dbd6ec8283fb1c31379596d6c8be6f52eb3c7 Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Wed, 22 Feb 2006 09:58:36 +0000 Subject: * Made it possible to dynamically check for supported linker options using the check_ld function. * Only use --warn-unresolved-symbols with linkers that support it. --- libpthread/linuxthreads.old_db/Makefile.in | 2 +- libpthread/linuxthreads_db/Makefile.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libpthread') diff --git a/libpthread/linuxthreads.old_db/Makefile.in b/libpthread/linuxthreads.old_db/Makefile.in index 0c5f7585a..d01db5168 100644 --- a/libpthread/linuxthreads.old_db/Makefile.in +++ b/libpthread/linuxthreads.old_db/Makefile.in @@ -8,7 +8,7 @@ # Get the thread include dependencies and shared object name CFLAGS-linuxthreads.old_db := -DNOT_IN_libc -DLIBPTHREAD_SO="\"libpthread.so.$(MAJOR_VERSION)\"" -LDFLAGS-libthread_db.so := $(LDFLAGS_NOSTRIP) -s --warn-unresolved-symbols +LDFLAGS-libthread_db.so := $(LDFLAGS_NOSTRIP) -s $(call check_ld,--warn-unresolved-symbols) LIBS-libthread_db.so := $(LIBS) diff --git a/libpthread/linuxthreads_db/Makefile.in b/libpthread/linuxthreads_db/Makefile.in index ec6afc016..06106e8af 100644 --- a/libpthread/linuxthreads_db/Makefile.in +++ b/libpthread/linuxthreads_db/Makefile.in @@ -8,7 +8,7 @@ # Get the thread include dependencies and shared object name CFLAGS-linuxthreads_db := -DNOT_IN_libc -DLIBPTHREAD_SO="\"libpthread.so.$(MAJOR_VERSION)\"" -LDFLAGS-libthread_db.so := $(LDFLAGS_NOSTRIP) -s --warn-unresolved-symbols +LDFLAGS-libthread_db.so := $(LDFLAGS_NOSTRIP) -s $(call check_ld,--warn-unresolved-symbols) LIBS-libthread_db.so := $(LIBS) -- cgit v1.2.3