From b73eabd30e748226a8e55eb3271d360c963eea69 Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Thu, 29 Jul 2004 06:46:26 +0000 Subject: [PATCH] strip out bogus args passed to assembler by libtool --- src/libFLAC/ppc/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/libFLAC/ppc/Makefile.am b/src/libFLAC/ppc/Makefile.am index 451fc2a1..181dbaeb 100644 --- a/src/libFLAC/ppc/Makefile.am +++ b/src/libFLAC/ppc/Makefile.am @@ -30,8 +30,12 @@ SUFFIXES = .s .lo +STRIP_NON_ASM = sh $(top_srcdir)/strip_non_asm_libtool_args.sh + +# For some unknown reason libtool can't figure out the tag for 'as', so +# we fake it with --tag=CC and strip out unwanted options. .s.lo: - $(LIBTOOL) --mode=compile as -force_cpusubtype_ALL -o $@ $< + $(LIBTOOL) --tag=CC --mode=compile $(STRIP_NON_ASM) as -force_cpusubtype_ALL -o $@ $< noinst_LTLIBRARIES = libFLAC-asm.la libFLAC_asm_la_SOURCES = \