From 89c2cbb53b8ad14ae9d5d06ec230a696bea4a6ba Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Fri, 12 Dec 2014 17:09:07 +0100 Subject: hurd: make the protected payload changes less intrusive The changes to `hurd_types.defs' caused the glibc build to fail. Guard the problematic parts with `HURD_SERVER' similar how it is done in GNU Mach. * Makeconf: Define `HURD_SERVER' when preprocessing the RPC definitions for the server side. * hurd/hurd_types.defs: Guard problematic parts with `HURD_SERVER'. --- Makeconf | 1 + 1 file changed, 1 insertion(+) (limited to 'Makeconf') diff --git a/Makeconf b/Makeconf index 5439913f..ed2f6d0a 100644 --- a/Makeconf +++ b/Makeconf @@ -546,6 +546,7 @@ MIGCOMFLAGS := -subrprefix __ %.sdefsi %.sdefs.d: %.defs $(CPP) $(CPPFLAGS) $(MIGSFLAGS) $($*-MIGSFLAGS) -DSERVERPREFIX=S_ \ + -DHURD_SERVER=1 \ -MD -MF $*.sdefs.d.new \ $< -o $*.sdefsi sed -e 's/[^:]*:/$*Server.c $(mig-sheader-prefix)$*_S.h:/' \ -- cgit v1.2.3