about summary refs log tree commit diff
path: root/sysdeps/unix/sysv
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-22 13:58:43 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-22 13:58:43 -0700
commitcb191f2300ad80e722fa6d2b3be8d9c9512ce7e2 (patch)
tree283afdd5e6f1aa5293a707fb8921e881dae58b61 /sysdeps/unix/sysv
parentc9009328789acfca816c5ea0337ce0d0479b8fe5 (diff)
downloadglibc-cb191f2300ad80e722fa6d2b3be8d9c9512ce7e2.tar.gz
glibc-cb191f2300ad80e722fa6d2b3be8d9c9512ce7e2.tar.xz
glibc-cb191f2300ad80e722fa6d2b3be8d9c9512ce7e2.zip
Remove $(sysctl) from sysdep_routines
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r--sysdeps/unix/sysv/linux/Makefile2
-rw-r--r--sysdeps/unix/sysv/linux/sysctl.mk4
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk1
3 files changed, 3 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index 1011509018..70fd137dbc 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -19,7 +19,7 @@ endif
 ifeq ($(subdir),misc)
 include $(firstword $(wildcard $(sysdirs:=/sysctl.mk)))
 
-sysdep_routines += $(sysctl) clone llseek umount umount2 readahead \
+sysdep_routines += clone llseek umount umount2 readahead \
 		   setfsuid setfsgid makedev epoll_pwait signalfd \
 		   eventfd eventfd_read eventfd_write prlimit
 
diff --git a/sysdeps/unix/sysv/linux/sysctl.mk b/sysdeps/unix/sysv/linux/sysctl.mk
index 79d5998569..8d04d12e25 100644
--- a/sysdeps/unix/sysv/linux/sysctl.mk
+++ b/sysdeps/unix/sysv/linux/sysctl.mk
@@ -1,3 +1,3 @@
 # sysctl system call has been deprecated.  It is provided for backward
-# compatility.  New target should override it (see x86_64/x32/sysctl.mk).
-sysctl = sysctl
+# compatility.  New target shouldn't add it (see x86_64/x32/sysctl.mk).
+sysdep_routines += sysctl
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk b/sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk
index cdca4ef39a..da018fe624 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk
@@ -1,2 +1 @@
 # X32 doesn't support sysctl.
-sysctl =