squashfs-tools/squashfs-cflags.patch

14 lines
587 B
Diff
Raw Normal View History

2010-07-27 12:04:21 +00:00
--- squashfs-tools/Makefile.orig 2010-07-01 21:24:24.000000000 -0500
+++ squashfs-tools/Makefile 2010-07-27 06:56:04.000000000 -0500
@@ -27,8 +27,8 @@
UNSQUASHFS_OBJS = unsquashfs.o unsquash-1.o unsquash-2.o unsquash-3.o \
unsquash-4.o swap.o compressor.o gzip_wrapper.o read_xattrs.o
-CFLAGS = $(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
- -D_GNU_SOURCE -DCOMP_DEFAULT=\"$(COMP_DEFAULT)\" -O2 -Wall
+CFLAGS = $(RPM_OPT_FLAGS) $(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
+ -D_GNU_SOURCE -DCOMP_DEFAULT=\"$(COMP_DEFAULT)\"
LIBS =
ifdef LZMA_SUPPORT