]> sourceware.org Git - glibc.git/commitdiff
NaCl: Do not install <sys/mtio.h>.
authorRoland McGrath <roland@hack.frob.com>
Fri, 11 Sep 2015 21:16:18 +0000 (14:16 -0700)
committerRoland McGrath <roland@hack.frob.com>
Fri, 11 Sep 2015 21:16:18 +0000 (14:16 -0700)
ChangeLog
sysdeps/nacl/Makefile

index ca4db618c394a8284ca77348c2532f118a785223..cb9c95338943830b475581bc5b947e739de74c42 100644 (file)
--- 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]
index 6749a44c5303a6119e5255fd926a4a2892bb8890..1748886719a7a8c6e2d00a530dbff85c9eaafbde 100644 (file)
@@ -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
This page took 0.0952 seconds and 5 git commands to generate.