summaryrefslogtreecommitdiff
path: root/Makeconf
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-12-12 17:09:07 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-12-12 17:09:07 +0100
commit89c2cbb53b8ad14ae9d5d06ec230a696bea4a6ba (patch)
treead6e7cd8f172b6e8e1adf9f6a0851805c472cc96 /Makeconf
parentb541a7c513aafa636a8ce0903aab4b72504bc0ed (diff)
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'.
Diffstat (limited to 'Makeconf')
-rw-r--r--Makeconf1
1 files changed, 1 insertions, 0 deletions
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:/' \