openbsd-ports/audio/xmms/patches/gcc-Input_mpg123_Makefile_am
sthen b631f0db36 sparc64 has sporadic build failures unless -O0 is used for some files;
this was patched in Makefile.in in the past but a change that was made
to run autoconf has knocked this out. switch to patching Makefile.am
instead. from Brad; ok robert@ (maintainer)
2009-06-14 10:06:07 +00:00

15 lines
937 B
Plaintext

$OpenBSD: gcc-Input_mpg123_Makefile_am,v 1.1 2009/06/14 10:06:08 sthen Exp $
--- Input/mpg123/Makefile.am.orig Fri Jun 12 15:58:20 2009
+++ Input/mpg123/Makefile.am Fri Jun 12 15:59:27 2009
@@ -53,3 +53,10 @@ libmpg123_la_SOURCES = $(COMMON_SRC) $(EXTRA_SRC)
libmpg123_la_LDFLAGS = @PLUGIN_LDFLAGS@
libmpg123_la_LIBADD = @GTK_LIBS@ @PTHREAD_LIBS@ @Z_LIBS@ $(top_builddir)/libxmms/libxmms.la
INCLUDES = @GTK_CFLAGS@ @ARCH_DEFINES@ -I$(top_builddir)/intl -I$(top_srcdir)
+
+layer3.lo: layer3.c
+@am__fastdepCC_TRUE@ if $(LTCOMPILE) -O0 -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(LTCOMPILE) -O0 -c -o $@ $<