squashfs-tools/squashfs-cflags.patch
Jeremy Katz ba5d1d2651 auto-import squashfs-tools-2.2r2-1 on branch devel from
squashfs-tools-2.2r2-1.src.rpm
2005-12-01 20:15:48 +00:00

11 lines
455 B
Diff

--- squashfs2.2-r2/squashfs-tools/Makefile.cflags 2005-12-01 14:53:27.000000000 -0500
+++ squashfs2.2-r2/squashfs-tools/Makefile 2005-12-01 14:56:24.000000000 -0500
@@ -1,6 +1,6 @@
INCLUDEDIR = .
-CFLAGS := -I$(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g
+CFLAGS := $(RPM_OPT_FLAGS) -I$(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g
mksquashfs: mksquashfs.o read_fs.o sort.o
$(CC) mksquashfs.o read_fs.o sort.o -lz -o $@