about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-03-18 14:58:15 -0700
committerRoland McGrath <roland@hack.frob.com>2014-03-18 14:58:15 -0700
commit7d375303f23668ebc7542fe8e331bd4eab749627 (patch)
treee74b01f9cee933799eeee136f11e9b803c1e5751 /sysdeps/unix/sysv/linux/Makefile
parent0283ecca51d2206f2644c1b1b0ecbb42fab7ac45 (diff)
downloadglibc-7d375303f23668ebc7542fe8e331bd4eab749627.tar.gz
glibc-7d375303f23668ebc7542fe8e331bd4eab749627.tar.xz
glibc-7d375303f23668ebc7542fe8e331bd4eab749627.zip
Add comments about non-Linux use of bits/mman-linux.h.
Diffstat (limited to 'sysdeps/unix/sysv/linux/Makefile')
-rw-r--r--sysdeps/unix/sysv/linux/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index 234d5a747a..0def37ecfe 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -25,6 +25,13 @@ sysdep_routines += clone llseek umount umount2 readahead \
 CFLAGS-gethostid.c = -fexceptions
 CFLAGS-tst-writev.c += "-DARTIFICIAL_LIMIT=0x80000000-__getpagesize()"
 
+# Note that bits/mman-linux.h is listed here though the file lives in the
+# top-level bits/ subdirectory instead of here in sysdeps/.../linux/bits/.
+# That is just so that other (non-Linux) configurations for whom the
+# bits/mman-linux.h definitions work well do not have to duplicate the
+# contents of the file.  The file must still be listed in sysdep_headers
+# here and in any non-Linux configuration that uses it; other
+# configurations will not install the file.
 sysdep_headers += sys/mount.h sys/acct.h sys/sysctl.h \
 		  sys/klog.h sys/kdaemon.h \
 		  sys/user.h sys/procfs.h sys/prctl.h \