$NetBSD: patch-ab,v 1.21 2010/07/13 06:08:23 adam Exp $ --- converter/other/Makefile.orig 2009-09-18 19:04:37.000000000 +0000 +++ converter/other/Makefile @@ -135,6 +135,13 @@ all: $(BINARIES) $(SUBDIRS:%=%/all) include $(SRCDIR)/Makefile.common +# XXX sparc64 gcc 3.3.x toolchain bug; compile exif.o without optimisation +ifeq ($(MACHINE),sparc64) +exif.o: exif.c + $(CC) -c $(INCLUDES2) -DNDEBUG \ + $(CPPFLAGS) $(CFLAGS:-O2=) $(CFLAGS_PERSONAL) $(CADD) -o $@ $< +endif + ifeq ($(NEED_RUNTIME_PATH),Y) LIBOPTR = -runtime else