summaryrefslogtreecommitdiff
path: root/package/tcsh/patches/patch-Makefile_in
diff options
context:
space:
mode:
Diffstat (limited to 'package/tcsh/patches/patch-Makefile_in')
-rw-r--r--package/tcsh/patches/patch-Makefile_in2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/tcsh/patches/patch-Makefile_in b/package/tcsh/patches/patch-Makefile_in
index 1844fedea..1f206f2b4 100644
--- a/package/tcsh/patches/patch-Makefile_in
+++ b/package/tcsh/patches/patch-Makefile_in
@@ -6,7 +6,7 @@ use host compiler and flags
gethost: gethost.c sh.err.h tc.const.h sh.h
rm -f gethost
- ${CC} -o gethost ${LDFLAGS} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} $(srcdir)/gethost.c ${LIBES} ${EXTRALIBS}
-+ ${HOSTCC} -o gethost ${HOSTLDFLAGS} ${HOSTCFLAGS} ${HOSTCPPFLAGS} $(srcdir)/gethost.c
++ ${CC_FOR_BUILD} -o gethost ${LDFLAGS_FOR_BUILD} ${CFLAGS_FOR_BUILD} ${CPPFLAGS_FOR_BUILD} $(srcdir)/gethost.c
tc.defs.c: gethost host.defs
@rm -f $@.tmp