blob: de630b524fc715f4bcf54ba094d641e751fa4dfe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-ab,v 1.14 2004/04/29 08:02:39 adam Exp $
--- converter/other/Makefile.orig 2003-07-11 03:23:53.000000000 +0000
+++ converter/other/Makefile
@@ -96,6 +96,13 @@ HEADERLINKS = pm_config.h pm.h pbm.h pgm
include $(SRCDIR)/Makefile.common
+# XXX sparc64 gcc 3.3.x toolchain bug means we must compile exif.o without
+# optimisation
+EXIF_CFLAGS=$(CFLAGS:-O2=)
+exif.o: exif.c
+ $(CC) -c -I$(SRCDIR)/$(SUBDIR) -I. $(INCLUDES) \
+ $(EXIF_CFLAGS) $(CADD) -o $@ $<
+
ifeq ($(NEED_RUNTIME_PATH),Y)
LIBOPTR = -runtime
else
|