aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-03-26 08:33:42 +0000
committerRoland McGrath <roland@gnu.org>1999-03-26 08:33:42 +0000
commit3635e76aab497753c9e7c14ff5b62dd960cb9aa5 (patch)
tree6f77bbac82ea7c4d4dc36463f0285e23cc8f64d4 /sysdeps/mach/hurd
parent7ddfa374a353e9cff1b1823d0b55627960021c01 (diff)
downloadglibc-3635e76aab497753c9e7c14ff5b62dd960cb9aa5.tar
glibc-3635e76aab497753c9e7c14ff5b62dd960cb9aa5.tar.gz
glibc-3635e76aab497753c9e7c14ff5b62dd960cb9aa5.tar.bz2
glibc-3635e76aab497753c9e7c14ff5b62dd960cb9aa5.zip
1999-03-26 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script if we build the profiled library.
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r--sysdeps/mach/hurd/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile
index ec466e3ee6..9ad681d550 100644
--- a/sysdeps/mach/hurd/Makefile
+++ b/sysdeps/mach/hurd/Makefile
@@ -106,10 +106,13 @@ common-generated += errnos.d stamp-errnos
libc-name = crt
ifeq (,$(subdir))
-install-others += $(inst_libdir)/libc.a $(inst_libdir)/libc_p.a
+install-others += $(inst_libdir)/libc.a
$(inst_libdir)/libc.a: $(hurd)/libc-ldscript $(+force); $(do-install)
+ifeq (yes,$(build-profile))
+install-others += $(inst_libdir)/libc_p.a
$(inst_libdir)/libc_p.a: $(hurd)/libc_p-ldscript $(+force); $(do-install)
endif
+endif
# Make sure these are used to build the libc.so shared object too. There
# is a circular dependency between each of these shared objects and libc