--- squashfs3.0/squashfs-tools/Makefile.orig 2006-03-15 16:36:20.000000000 -0500
+++ squashfs3.0/squashfs-tools/Makefile 2006-06-23 11:47:53.000000000 -0400
@@ -1,6 +1,6 @@
INCLUDEDIR = .
-CFLAGS := -I$(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2
+CFLAGS := $(RPM_OPT_FLAGS) -I$(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2
all: mksquashfs unsquashfs