1
0

patch-Makefile_in 506 B

123456789101112
  1. use host compiler and flags
  2. --- tcsh-6.17.00.orig/Makefile.in 2009-06-25 00:09:05.000000000 +0200
  3. +++ tcsh-6.17.00/Makefile.in 2010-10-11 09:44:28.000000000 +0200
  4. @@ -365,7 +365,7 @@ pure:$(P) ${OBJS}
  5. gethost: gethost.c sh.err.h tc.const.h sh.h
  6. rm -f gethost
  7. - ${CC} -o gethost ${LDFLAGS} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} $(srcdir)/gethost.c ${LIBES} ${EXTRALIBS}
  8. + ${HOSTCC} -o gethost ${HOSTLDFLAGS} ${HOSTCFLAGS} ${HOSTCPPFLAGS} $(srcdir)/gethost.c
  9. tc.defs.c: gethost host.defs
  10. @rm -f $@.tmp