about summary refs log tree commit diff
path: root/sysdeps/powerpc/fpu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/fpu/Makefile')
-rw-r--r--sysdeps/powerpc/fpu/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/powerpc/fpu/Makefile b/sysdeps/powerpc/fpu/Makefile
index bf2ed92e7b..d0fe4a8ba1 100644
--- a/sysdeps/powerpc/fpu/Makefile
+++ b/sysdeps/powerpc/fpu/Makefile
@@ -1,3 +1,6 @@
 ifeq ($(subdir),math)
 libm-support += fenv_const fe_nomask t_sqrt
+
+# libm needs ld.so to access dl_hwcap
+$(objpfx)libm.so: $(elfobjdir)/ld.so
 endif