summaryrefslogtreecommitdiff
path: root/sysdeps/nacl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/nacl/Makefile')
-rw-r--r--sysdeps/nacl/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/sysdeps/nacl/Makefile b/sysdeps/nacl/Makefile
index 6749a44c53..71a4f8fa4b 100644
--- a/sysdeps/nacl/Makefile
+++ b/sysdeps/nacl/Makefile
@@ -1,6 +1,6 @@
# Makefile fragment for NaCl configurations.
-# Copyright (C) 2015 Free Software Foundation, Inc.
+# Copyright (C) 2015-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -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