From fab7ce3f5b4060bf62659e8b58529de4156b5a2f Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 31 May 2013 16:16:33 +0000 Subject: Link extra-libs consistently with libc and ld.so. --- math/Makefile | 5 ----- 1 file changed, 5 deletions(-) (limited to 'math/Makefile') diff --git a/math/Makefile b/math/Makefile index 5bbf9d3c48..3ed78fc9c3 100644 --- a/math/Makefile +++ b/math/Makefile @@ -229,8 +229,3 @@ gmp-objs = $(patsubst %,$(common-objpfx)stdlib/%.o,\ $(objpfx)atest-exp: $(gmp-objs) $(objpfx)atest-sincos: $(gmp-objs) $(objpfx)atest-exp2: $(gmp-objs) - -# Depend on libc.so so a DT_NEEDED is generated in the shared objects. -# This ensures they will load libc.so for needed symbols if loaded by -# a statically-linked program that hasn't already loaded it. -$(objpfx)libm.so: $(common-objpfx)libc.so $(common-objpfx)libc_nonshared.a -- cgit 1.4.1