Blame SOURCES/e2fsprogs-1.42.9-no-ppc-altivec.patch

ec15cf
Index: e2fsprogs-1.42.9/lib/ext2fs/Makefile.in
ec15cf
===================================================================
ec15cf
--- e2fsprogs-1.42.9.orig/lib/ext2fs/Makefile.in
ec15cf
+++ e2fsprogs-1.42.9/lib/ext2fs/Makefile.in
ec15cf
@@ -197,6 +197,10 @@ BSDLIB_INSTALL_DIR = $(root_libdir)
ec15cf
 
ec15cf
 all:: ext2fs.pc
ec15cf
ec15cf
+ifdef PPC_NO_ALTIVEC
ec15cf
+ALL_CFLAGS += -mno-altivec -mno-vsx
ec15cf
+endif 
ec15cf
+
ec15cf
 .c.o:
ec15cf
 	$(E) "	CC $<"
ec15cf
 	$(Q) $(CC) $(ALL_CFLAGS) -c $< -o $@