squashfs-tools/squashfs-cflags.patch

14 lines
561 B
Diff
Raw Normal View History

2010-12-24 17:32:31 +00:00
--- squashfs-tools/Makefile.orig 2010-12-24 11:26:49.000000000 -0600
+++ squashfs-tools/Makefile 2010-12-24 11:28:21.000000000 -0600
@@ -100,8 +100,8 @@
UNSQUASHFS_OBJS = unsquashfs.o unsquash-1.o unsquash-2.o unsquash-3.o \
unsquash-4.o swap.o compressor.o
-CFLAGS = $(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
- -D_GNU_SOURCE -DCOMP_DEFAULT=\"$(COMP_DEFAULT)\" -O2 -Wall
2010-09-21 05:45:21 +00:00
+CFLAGS = $(RPM_OPT_FLAGS) $(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
+ -D_GNU_SOURCE -DCOMP_DEFAULT=\"$(COMP_DEFAULT)\"
LIBS =
ifdef GZIP_SUPPORT