aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-09-11 14:16:18 -0700
committerRoland McGrath <roland@hack.frob.com>2015-09-11 14:16:18 -0700
commitd57248f0351b307e17476aa1ef812023025c8fd7 (patch)
tree1ead4d2bceb4829194780815fb3541e6fceab399
parentde071d199a8578055edf2722114788ae749823aa (diff)
downloadglibc-d57248f0351b307e17476aa1ef812023025c8fd7.tar
glibc-d57248f0351b307e17476aa1ef812023025c8fd7.tar.gz
glibc-d57248f0351b307e17476aa1ef812023025c8fd7.tar.bz2
glibc-d57248f0351b307e17476aa1ef812023025c8fd7.zip
NaCl: Do not install <sys/mtio.h>.
-rw-r--r--ChangeLog6
-rw-r--r--sysdeps/nacl/Makefile9
2 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ca4db618c3..cb9c953389 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-09-11 Roland McGrath <roland@hack.frob.com>
+
+ * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
+ Use 'override' keyword to freeze the value here, preventing
+ the addition of sys/mtio.h by sysdeps/gnu/Makefile.
+
2015-09-11 Joseph Myers <joseph@codesourcery.com>
[BZ #14912]
diff --git a/sysdeps/nacl/Makefile b/sysdeps/nacl/Makefile
index 6749a44c53..1748886719 100644
--- a/sysdeps/nacl/Makefile
+++ b/sysdeps/nacl/Makefile
@@ -132,4 +132,13 @@ ifeq ($(subdir),misc)
# sysdeps/.../linux/ directories, but it's still a sysdeps decision to
# install it.
sysdep_headers += bits/mman-linux.h
+
+# This defeats sysdeps/gnu/Makefile's addition of sys/mtio.h, which
+# we do not want. This is a total kludge, but it seems no worse for
+# now than making the sysdeps/gnu/Makefile code conditional on a
+# variable we set here. If some sysdeps/.../Makefile that is later
+# in the list than sysdeps/gnu needed to add to sysdep_headers, this
+# would break it. But sysdeps/gnu is close to last in the list and
+# this coming up seems unlikely.
+override sysdep_headers := $(sysdep_headers)
endif