Justus Winter, le Fri 12 Dec 2014 10:21:43 +0100, a écrit :
> Hm.  Maybe we can check whether we're building server stubs, and only
> apply the payload magic then.  Gnumach does something similar with the
> KERNEL_SERVER macro.  Indeed, we could simply do:
> 
> diff --git a/Makeconf b/Makeconf
> index 5439913..ed2f6d0 100644
> --- a/Makeconf
> +++ b/Makeconf
> @@ -546,6 +546,7 @@ MIGCOMFLAGS := -subrprefix __
>  
>  %.sdefsi %.sdefs.d: %.defs
>       $(CPP) $(CPPFLAGS) $(MIGSFLAGS) $($*-MIGSFLAGS) -DSERVERPREFIX=S_ \
> +       -DHURD_SERVER=1 \

Indeed, that would limit the unexpected introduction of the use of
ports_payload_get_name to the hurd source repository.

Samuel

Reply via email to