Blob Blame History Raw
Index: e2fsprogs-1.42.9/lib/ext2fs/Makefile.in
===================================================================
--- e2fsprogs-1.42.9.orig/lib/ext2fs/Makefile.in
+++ e2fsprogs-1.42.9/lib/ext2fs/Makefile.in
@@ -197,6 +197,10 @@ BSDLIB_INSTALL_DIR = $(root_libdir)
 
 all:: ext2fs.pc

+ifdef PPC_NO_ALTIVEC
+ALL_CFLAGS += -mno-altivec -mno-vsx
+endif 
+
 .c.o:
 	$(E) "	CC $<"
 	$(Q) $(CC) $(ALL_CFLAGS) -c $< -o $@