summaryrefslogtreecommitdiff
path: root/hurd/Makefile
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-04 02:11:46 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-04 02:13:56 +0100
commit95dfdbd28cb78f82817f6f965c303d03d1d420dd (patch)
treee07c820167e8256d5bd21846e5217c4b88a3b6dd /hurd/Makefile
parent44c6376ca357531fe8169f821acde8c4b574d5ac (diff)
downloadglibc-95dfdbd28cb78f82817f6f965c303d03d1d420dd.tar.gz
hurd: Avoid using ino64_t and loff_t in headers
* mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)): Process mig output through $(migheaderpipe). * hurd/Makefile (migheaderpipe): Define variable.
Diffstat (limited to 'hurd/Makefile')
-rw-r--r--hurd/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/hurd/Makefile b/hurd/Makefile
index f71dc36043..cca08a175a 100644
--- a/hurd/Makefile
+++ b/hurd/Makefile
@@ -86,6 +86,8 @@ generated += $(inlines:=.c)
CFLAGS-hurdstartup.o = $(no-stack-protector)
CFLAGS-RPC_exec_startup_get_info.o = $(no-stack-protector)
+# Make generated headers compatible with all support standards
+migheaderpipe := | sed -e 's/\<ino64_t\>/__ino64_t/' -e 's/\<loff_t\>/__loff_t/'
include ../mach/Machrules
include ../Rules