Update the cflags patch to account for slight Makefile changes.

This commit is contained in:
Bruno Wolff III 2010-09-21 00:32:42 -05:00
parent 80c70450d3
commit 1809abb6d5

View File

@ -1,13 +1,14 @@
--- squashfs-tools/Makefile.orig 2010-08-28 10:23:13.000000000 -0500 --- squashfs-tools/Makefile.orig 2010-09-20 17:11:47.000000000 -0500
+++ squashfs-tools/Makefile 2010-08-28 10:24:22.000000000 -0500 +++ squashfs-tools/Makefile 2010-09-21 00:15:49.000000000 -0500
@@ -58,8 +58,8 @@ @@ -87,8 +87,9 @@
UNSQUASHFS_OBJS = unsquashfs.o unsquash-1.o unsquash-2.o unsquash-3.o \ UNSQUASHFS_OBJS = unsquashfs.o unsquash-1.o unsquash-2.o unsquash-3.o \
unsquash-4.o swap.o compressor.o gzip_wrapper.o unsquash-4.o swap.o compressor.o
-CFLAGS = $(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \ -CFLAGS = $(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
- -D_GNU_SOURCE -DCOMP_DEFAULT=\"$(COMP_DEFAULT)\" -O2 -Wall - -D_GNU_SOURCE -DCOMP_DEFAULT=\"$(COMP_DEFAULT)\" -O2 -Wall
+CFLAGS = $(RPM_OPT_FLAGS) $(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \ +CFLAGS = $(RPM_OPT_FLAGS) $(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOU
+RCE \
+ -D_GNU_SOURCE -DCOMP_DEFAULT=\"$(COMP_DEFAULT)\" + -D_GNU_SOURCE -DCOMP_DEFAULT=\"$(COMP_DEFAULT)\"
LIBS = LIBS =
ifdef LZMA_SUPPORT ifdef GZIP_SUPPORT