0d720fd
From 8235759d3096654ff2f5c7118bd23f40b7dcbc8f Mon Sep 17 00:00:00 2001
0d720fd
From: christos <christos>
0d720fd
Date: Sat, 26 Nov 2016 00:14:18 +0000
0d720fd
Subject: [PATCH] Add all flags for the gethost build.
0d720fd
0d720fd
---
0d720fd
 Makefile.in | 2 +-
0d720fd
 1 file changed, 1 insertion(+), 1 deletion(-)
0d720fd
0d720fd
diff --git a/Makefile.in b/Makefile.in
0d720fd
index 1ef8cb7..5c30451 100644
0d720fd
--- a/Makefile.in
0d720fd
+++ b/Makefile.in
0d720fd
@@ -449,7 +449,7 @@ pure:$(P) ${OBJS}
0d720fd
 
0d720fd
 gethost:  gethost.c sh.err.h tc.const.h sh.h
0d720fd
 	rm -f gethost
0d720fd
-	${CC_FOR_GETHOST} -o gethost ${CPPFLAGS} $(srcdir)/gethost.c
0d720fd
+	${CC_FOR_GETHOST} -o gethost ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} $(srcdir)/gethost.c
0d720fd
 
0d720fd
 tc.defs.c:	gethost host.defs
0d720fd
 	@rm -f $@.tmp
0d720fd
-- 
0d720fd
2.7.4
0d720fd