$NetBSD: patch-ab,v 1.9 2002/02/24 21:42:56 wiz Exp $

--- hacks/Makefile.in.orig	Sun Feb 24 10:56:29 2002
+++ hacks/Makefile.in
@@ -428,6 +428,12 @@
 .c.o:
 	$(CC) -c $(INCLUDES) $(DEFS) $(CFLAGS) $(X_CFLAGS) $<
 
+# Work around gcc codegen bug
+.if $(MACHINE_ARCH) == "arm32"
+distort.o:
+	$(CC) -c $(INCLUDES) $(DEFS) $(CFLAGS) $(X_CFLAGS) -O0 $<
+.endif 
+
 # Some hacks use a slightly-differently-compiled variant of this file.
 # This is how to make the the other .o file from it.
 #
