summaryrefslogtreecommitdiff
path: root/package/tcsh/patches/patch-Makefile_in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-14 00:38:41 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-14 00:38:41 +0100
commita03e16ce46353740a2b778beda4dda03c0252e07 (patch)
treea13c0f4d285a03a2e5a3ddc42ac718b23bc30a80 /package/tcsh/patches/patch-Makefile_in
parent42675af37cb5ce735452311734cc5b88a66d6d9d (diff)
parent58f2ba6405c8b0390995af535592c94eb38e013c (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/tcsh/patches/patch-Makefile_in')
-rw-r--r--package/tcsh/patches/patch-Makefile_in12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/tcsh/patches/patch-Makefile_in b/package/tcsh/patches/patch-Makefile_in
new file mode 100644
index 000000000..aaeae79aa
--- /dev/null
+++ b/package/tcsh/patches/patch-Makefile_in
@@ -0,0 +1,12 @@
+use host compiler and flags
+--- tcsh-6.17.00.orig/Makefile.in 2009-06-25 00:09:05.000000000 +0200
++++ tcsh-6.17.00/Makefile.in 2010-02-13 21:01:33.000000000 +0100
+@@ -365,7 +365,7 @@ pure:$(P) ${OBJS}
+
+ 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 ${LIBES}
+
+ tc.defs.c: gethost host.defs
+ @rm -f $@.tmp