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.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/sysdeps/unix/make-syscalls.sh b/sysdeps/unix/make-syscalls.sh
index 18a032600d..7aa4b3ea0d 100644
--- a/sysdeps/unix/make-syscalls.sh
+++ b/sysdeps/unix/make-syscalls.sh
@@ -67,10 +67,7 @@ EOF
   *@*)
     # The versioned symbols are only in the shared library.
     echo "\
-\$(foreach o,\$(filter-out .os,\$(object-suffixes)),\$(objpfx)$file\$o): \\
-\$(objpfx)$file%: \$(common-objpfx)empty%
-	rm -f \$@
-	ln \$< \$@
+shared-only-routines += $file
 \$(objpfx)${file}.os: \\"
     ;;
   *)