about summary refs log tree commit diff
path: root/sysdeps/unix/make-syscalls.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/make-syscalls.sh')
-rw-r--r--sysdeps/unix/make-syscalls.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/unix/make-syscalls.sh b/sysdeps/unix/make-syscalls.sh
index c7ddb88999..18a032600d 100644
--- a/sysdeps/unix/make-syscalls.sh
+++ b/sysdeps/unix/make-syscalls.sh
@@ -67,10 +67,8 @@ EOF
   *@*)
     # The versioned symbols are only in the shared library.
     echo "\
-\$(objpfx)${file}.o: \$(common-objpfx)empty.o
-	rm -f \$@
-	ln \$< \$@
-\$(objpfx)${file}.op: \$(common-objpfx)empty.op
+\$(foreach o,\$(filter-out .os,\$(object-suffixes)),\$(objpfx)$file\$o): \\
+\$(objpfx)$file%: \$(common-objpfx)empty%
 	rm -f \$@
 	ln \$< \$@
 \$(objpfx)${file}.os: \\"