summaryrefslogtreecommitdiff
path: root/libc/io
diff options
context:
space:
mode:
authorjimb <jimb@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2007-08-24 06:28:19 +0000
committerjimb <jimb@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2007-08-24 06:28:19 +0000
commit90df2242e461666ebffe064e54717ac92973a746 (patch)
treeb234fe77a1255c1f552c12cabbbdab3647676fd7 /libc/io
parente81c4393dba969b3d0bc62729c881348477a3b8c (diff)
Implement the OPTION_EGLIBC_BSD option group.
* option-groups.def (OPTION_EGLIBC_BSD): New entry. * option-groups.defaults (OPTION_EGLIBC_BSD): Initialize. * misc/Makefile (routines): Put revoke, chflags, and fchflags in the group. * posix/Makefile (routines): Put setlogin in the group. * io/Makefile: include ../option-groups.mak. (routines) Put lchmod in the group. git-svn-id: svn://svn.eglibc.org/trunk@3252 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/io')
-rw-r--r--libc/io/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/io/Makefile b/libc/io/Makefile
index ed308b135..32c3461a9 100644
--- a/libc/io/Makefile
+++ b/libc/io/Makefile
@@ -19,6 +19,8 @@
#
# Sub-makefile for I/O portion of the library.
#
+include ../option-groups.mak
+
subdir := io
headers := sys/stat.h bits/stat.h sys/statfs.h bits/statfs.h sys/vfs.h \
@@ -35,7 +37,7 @@ routines := \
fxstatat fxstatat64 \
statfs fstatfs statfs64 fstatfs64 \
statvfs fstatvfs statvfs64 fstatvfs64 \
- umask chmod fchmod lchmod fchmodat \
+ umask chmod fchmod fchmodat \
mkdir mkdirat \
open open64 openat openat64 close \
read write lseek lseek64 access euidaccess faccessat \
@@ -53,6 +55,7 @@ routines := \
posix_fallocate posix_fallocate64 \
sendfile sendfile64 \
utimensat futimens
+routines-$(OPTION_EGLIBC_BSD) += lchmod
# These routines will be omitted from the libc shared object.
# Instead the static object files will be included in a special archive