diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-10-13 14:50:43 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-10-13 14:50:43 +0000 |
commit | 51ce75b5b02a7617bfee5272d9236835be48d02d (patch) | |
tree | 45d559f5b9b02f0fa705797081a28f638f52463e /libpthread/linuxthreads.old_db/Makefile.in | |
parent | 3936de030a9c53a21825701cea9c4d36e0d00b85 (diff) |
- use the compiler-driver instead of the linker
- adjust setting flags accordingly to use (hardcoded, see below) -Wl,
Potential improvements:
*) --warn-unresolved-symbols should perhaps be used for all libs
*) eventually rename LDFLAGS to CC_LDFLAGS
*) probe for compiler driver's notion of flag to use for passing in
linker flags (i.e. don't hardcode "-Wl,")
Diffstat (limited to 'libpthread/linuxthreads.old_db/Makefile.in')
-rw-r--r-- | libpthread/linuxthreads.old_db/Makefile.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads.old_db/Makefile.in b/libpthread/linuxthreads.old_db/Makefile.in index 0959919fa..f0aa61f13 100644 --- a/libpthread/linuxthreads.old_db/Makefile.in +++ b/libpthread/linuxthreads.old_db/Makefile.in @@ -8,9 +8,9 @@ # 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) $(call check_ld,--warn-unresolved-symbols) +LDFLAGS-libthread_db.so := $(LDFLAGS_NOSTRIP) $(if $(call check_ld,--warn-unresolved-symbols),-Wl$(comma)--warn-unresolved-symbols) ifeq ($(DOSTRIP),y) -LDFLAGS-libthread_db.so += -s +LDFLAGS-libthread_db.so += -Wl,-s endif LIBS-libthread_db.so := $(LIBS) |