summaryrefslogtreecommitdiff
path: root/packages/squashfs-tools/files/flags.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/squashfs-tools/files/flags.patch
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/squashfs-tools/files/flags.patch')
-rw-r--r--packages/squashfs-tools/files/flags.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/packages/squashfs-tools/files/flags.patch b/packages/squashfs-tools/files/flags.patch
index e69de29bb2..39bada8908 100644
--- a/packages/squashfs-tools/files/flags.patch
+++ b/packages/squashfs-tools/files/flags.patch
@@ -0,0 +1,31 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- squashfs-tools/Makefile~flags 2004-04-30 11:29:35.000000000 -0400
++++ squashfs-tools/Makefile 2004-09-13 00:43:08.922418512 -0400
+@@ -1,12 +1,20 @@
++CC = gcc
++CCLD = $(CC)
+ INCLUDEDIR = .
+-
+-CFLAGS := -I$(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2
++CFLAGS_R = -I$(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
++CFLAGS = -O2
++LDFLAGS_R =
++LDFLAGS =
++LIBS = -lz
+
+ mksquashfs: mksquashfs.o read_fs.o sort.o
+- $(CC) mksquashfs.o read_fs.o sort.o -lz -o $@
++ $(CCLD) $(LDFLAGS_R) $(LDFLAGS) mksquashfs.o read_fs.o sort.o $(LIBS) -o $@
+
+ mksquashfs.o: mksquashfs.c mksquashfs.h
++ $(CC) $(CFLAGS_R) $(CFLAGS) -c -o mksquashfs.o mksquashfs.c
+
+ read_fs.o: read_fs.c read_fs.h
++ $(CC) $(CFLAGS_R) $(CFLAGS) -c -o read_fs.o read_fs.c
+
+ sort.o: sort.c
++ $(CC) $(CFLAGS_R) $(CFLAGS) -c -o sort.o sort.c