about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/Makefile
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2021-12-11 23:08:32 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2021-12-12 00:42:13 +0100
commit556a6126f8764bc66d03368b5ac3e26631556559 (patch)
tree736b213ed4c2d785aa5382bcd9e0480557228020 /sysdeps/mach/hurd/Makefile
parent26803075e4e7c0468965ed0d037345288aae99de (diff)
downloadglibc-556a6126f8764bc66d03368b5ac3e26631556559.tar.gz
glibc-556a6126f8764bc66d03368b5ac3e26631556559.tar.xz
glibc-556a6126f8764bc66d03368b5ac3e26631556559.zip
hurd: Add rules for static PIE build
This fixes [BZ #28671].
Diffstat (limited to 'sysdeps/mach/hurd/Makefile')
-rw-r--r--sysdeps/mach/hurd/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile
index 393e92210b..6a6a25ca1f 100644
--- a/sysdeps/mach/hurd/Makefile
+++ b/sysdeps/mach/hurd/Makefile
@@ -188,6 +188,8 @@ extra-objs += static-start.o
 # We need special startup code for statically linked binaries.
 $(objpfx)crt0.o: $(objpfx)static-start.o $(objpfx)abi-note.o $(objpfx)init.o $(objpfx)static-reloc.o
 	$(link-relocatable)
+$(objpfx)rcrt0.o: $(objpfx)static-start.o $(objpfx)abi-note.o $(objpfx)init.o
+	$(link-relocatable)
 
 endif