summaryrefslogtreecommitdiff
path: root/graphics/netpbm/patches/patch-ab
blob: 9fc0b3adc9366997e1319be47dc3ed21b749a7fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ab,v 1.20 2006/06/25 06:35:58 adam Exp $

--- converter/other/Makefile.orig	2006-05-28 01:16:09.000000000 +0200
+++ converter/other/Makefile
@@ -126,6 +126,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