init does not use libports. Therefor, it is not necessary to use the
default payload to port translation function.

* init/Makefile (MIGSFLAGS): Disable the default payload to port
  translation function.
---
 init/Makefile |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/init/Makefile b/init/Makefile
index ffb82ff..055b377 100644
--- a/init/Makefile
+++ b/init/Makefile
@@ -25,6 +25,10 @@ OBJS = $(SRCS:.c=.o) \
 target = init
 HURDLIBS = shouldbeinlibc
 
+# init does not use libports.  Disable the default payload to port
+# conversion.
+MIGSFLAGS="-DHURD_DEFAULT_PAYLOAD_TO_PORT=1"
+
 include ../Makeconf
 
 mung_msg_S.h: msg_S.h
-- 
1.7.10.4


Reply via email to