openbsd-ports/audio/libcdaudio/patches/sup-powerpc
brad c5266b2095 workaround compiler bug with cddb.c, compile with -O1 otherwise
we get a sig11 on powerpc.
--
Pointed out by pval's powerpc build list
2002-03-24 23:18:55 +00:00

13 lines
274 B
Plaintext

--- source/Makefile.in.orig Sun Mar 24 18:01:45 2002
+++ source/Makefile.in Sun Mar 24 18:03:35 2002
@@ -149,6 +149,9 @@ distclean-libLTLIBRARIES:
maintainer-clean-libLTLIBRARIES:
+cddb.lo:
+ $(LIBTOOL) --mode=compile $(COMPILE) -O1 -c $<
+
.c.o:
$(COMPILE) -c $<