tiff-cross.patch 1013 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff -Naur tiff/libtiff/Makefile.in tiff-new/libtiff/Makefile.in
--- tiff/libtiff/Makefile.in	1996-04-30 00:16:21.000000000 +0200
+++ tiff-new/libtiff/Makefile.in	2005-08-31 20:06:07.000000000 +0200
@@ -206,9 +206,9 @@
 
 ALPHA	= @ALPHAFILE@
 VERSION	= @VERSIONFILE@
-
+# Gruick hard code gcc if we crosscompile
 version.h: ${VERSION} ${ALPHA} ${SRCDIR}/mkversion.c
-	${CC} -o mkversion ${CFLAGS} ${SRCDIR}/mkversion.c
+	gcc -o mkversion ${CFLAGS} ${SRCDIR}/mkversion.c
 	rm -f version.h; ./mkversion -v ${VERSION} -a ${ALPHA} version.h
 tif_version.o: version.h
 
@@ -217,8 +217,10 @@
 # are generated by the mkg3states program.  On systems without
 # make these rules have to be manually carried out.
 #
+#Gruikk. hard code gcc when we cross-compile
+#
 tif_fax3sm.c: ${SRCDIR}/mkg3states.c ${SRCDIR}/tif_fax3.h
-	${CC} -o mkg3states ${CFLAGS} ${SRCDIR}/mkg3states.c
+	gcc -o mkg3states ${CFLAGS} ${SRCDIR}/mkg3states.c
 	rm -f tif_fax3sm.c; ./mkg3states -c const tif_fax3sm.c
 
 tif_aux.o: ${SRCDIR}/tif_aux.c