diff options
author | Khem Raj <raj.khem@gmail.com> | 2010-12-21 19:29:50 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-12-21 19:29:50 -0800 |
commit | 8b359ad87079dc715b46cc322440871f49d2a500 (patch) | |
tree | 810f54179b6429a10210affe8bf5aae52eecd02b | |
parent | 4d81f2a74578f819285b131c682e8d2f6c315c4e (diff) | |
download | uClibc-alpine-8b359ad87079dc715b46cc322440871f49d2a500.tar.bz2 uClibc-alpine-8b359ad87079dc715b46cc322440871f49d2a500.tar.xz |
libpthread/nptl_db: Append options to LDFLAGS based on if LD is set to gcc driver or ld itself
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | libpthread/nptl_db/Makefile.in | 3 |
1 files changed, 1 insertions, 2 deletions
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 |