Bruno Wolff III 1809ab
--- squashfs-tools/Makefile.orig	2010-09-20 17:11:47.000000000 -0500
Bruno Wolff III 1809ab
+++ squashfs-tools/Makefile	2010-09-21 00:15:49.000000000 -0500
Bruno Wolff III 10ac54
@@ -87,8 +87,8 @@
Bruno Wolff III 36804a
 UNSQUASHFS_OBJS = unsquashfs.o unsquash-1.o unsquash-2.o unsquash-3.o \
Bruno Wolff III 1809ab
 	unsquash-4.o swap.o compressor.o
Bruno Wolff III 36804a
 
Bruno Wolff III 36804a
-CFLAGS = $(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
Bruno Wolff III d8831d
-	-D_GNU_SOURCE -DCOMP_DEFAULT=\"$(COMP_DEFAULT)\"  -O2 -Wall
Bruno Wolff III 10ac54
+CFLAGS = $(RPM_OPT_FLAGS) $(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
Bruno Wolff III 36804a
+	-D_GNU_SOURCE -DCOMP_DEFAULT=\"$(COMP_DEFAULT)\"
Bruno Wolff III 36804a
 
Bruno Wolff III 36804a
 LIBS =
Bruno Wolff III 1809ab
 ifdef GZIP_SUPPORT