tcsh/tcsh-6.19.00-001-remove-CFLAGS-for-gethost.patch
David Kaspar [Dee'Kej] ec4630726d tcsh-6.19.00-001-remove-CFLAGS-for-gethost.patch added
> Remove CFLAGS for gethost to ease cross-compilation
2016-05-03 12:32:31 +02:00

26 lines
679 B
Diff

From 0ec81072bff28befe1337612d4ec7a2d12028c9d Mon Sep 17 00:00:00 2001
From: christos <christos>
Date: Tue, 26 May 2015 11:59:47 +0000
Subject: [PATCH] Remove CFLAGS for gethost to ease cross-compilation
---
Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.in b/Makefile.in
index b557cfa..bfe51b6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -449,7 +449,7 @@ pure:$(P) ${OBJS}
gethost: gethost.c sh.err.h tc.const.h sh.h
rm -f gethost
- ${CC_FOR_GETHOST} -o gethost ${CPPFLAGS} ${CFLAGS} $(srcdir)/gethost.c
+ ${CC_FOR_GETHOST} -o gethost ${CPPFLAGS} $(srcdir)/gethost.c
tc.defs.c: gethost host.defs
@rm -f $@.tmp
--
2.5.5