From 8b359ad87079dc715b46cc322440871f49d2a500 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 21 Dec 2010 19:29:50 -0800 Subject: libpthread/nptl_db: Append options to LDFLAGS based on if LD is set to gcc driver or ld itself Signed-off-by: Khem Raj --- libpthread/nptl_db/Makefile.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libpthread/nptl_db') diff --git a/libpthread/nptl_db/Makefile.in b/libpthread/nptl_db/Makefile.in index 644ec5552..a3fc1cd74 100644 --- a/libpthread/nptl_db/Makefile.in +++ b/libpthread/nptl_db/Makefile.in @@ -12,8 +12,7 @@ CFLAGS-nptl_db := -DLIBPTHREAD_SO="\"libpthread.so.$(ABI_VERSION)\"" CFLAGS-nptl_db += -I$(top_srcdir)libpthread/nptl -D_GNU_SOURCE CFLAGS-nptl_db += -DIS_IN_libthread_db=1 -DNOT_IN_libc -std=gnu99 -I$(top_srcdir)ldso/include -LDFLAGS-libthread_db.so := $(LDFLAGS_NOSTRIP) -s --warn-unresolved-symbols - +LDFLAGS-libthread_db.so := $(LDFLAGS_NOSTRIP) $(if $(call check_ld,--warn-unresolved-symbols),-Wl$(comma)--warn-unresolved-symbols) LIBS-libthread_db.so := $(LIBS) libthread_db_FULL_NAME := libthread_db-$(VERSION).so -- cgit v1.2.3