[PATCH] nptl_db: use $(READELF) rather than readelf

Mike Frysinger vapier@gentoo.org
Thu Nov 22 21:35:00 GMT 2012


We setup $(READELF) and use it everywhere, so fix nptl_db too.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>

2012-11-22  Mike Frysinger  <vapier@gentoo.org>

	* Makefile ($(objpfx)db-symbols.out): Change readelf to $(READELF).
---
 nptl_db/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nptl_db/Makefile b/nptl_db/Makefile
index 6ccb3d0..54721e7 100644
--- a/nptl_db/Makefile
+++ b/nptl_db/Makefile
@@ -60,6 +60,6 @@ $(objpfx)libthread_db.so: $(common-objpfx)libc.so \
 tests: $(objpfx)db-symbols.out
 $(objpfx)db-symbols.out: $(objpfx)db-symbols.v.i \
 			 $(common-objpfx)nptl/libpthread.so
-	LC_ALL=C readelf -W -s $(filter %.so,$^) | $(AWK) -f $< > $@
+	LC_ALL=C $(READELF) -W -s $(filter %.so,$^) | $(AWK) -f $< > $@
 
 $(objpfx)db-symbols.v.i: db-symbols.awk
-- 
1.7.12.4



More information about the Libc-alpha mailing list