Commit 13c669e1 authored by Felix Paul Kühne's avatar Felix Paul Kühne

contribs: compilation fix for x86_64 Macs

parent e8d9e5a2
......@@ -669,6 +669,9 @@ libmad-$(LIBMAD_VERSION).tar.gz:
libmad: libmad-$(LIBMAD_VERSION).tar.gz
$(EXTRACT_GZ)
ifdef HAVE_DARWIN_OS
( cd $@; sed -e 's%-march=i486%$(EXTRA_CFLAGS) $(EXTRA_LDFLAGS)%' -i.orig configure )
endif
.mad: libmad
(cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) CFLAGS="-O3" && make && make install)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment