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

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

diff --git a/startup/Makefile b/startup/Makefile
index 23d35cb..ee2ecdd5 100644
--- a/startup/Makefile
+++ b/startup/Makefile
@@ -25,6 +25,10 @@ OBJS = $(SRCS:.c=.o) \
 target = startup
 HURDLIBS = shouldbeinlibc
 
+# startup 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
-- 
2.1.3


Reply via email to