[vlc-devel] commit: contribs: compilation fix for x86_64 Macs ( Felix Paul Kühne )
git version control
git at videolan.org
Thu Apr 2 17:27:02 CEST 2009
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Apr 2 17:26:54 2009 +0200| [13c669e10239056512d027a59e366acce313df4f] | committer: Felix Paul Kühne
contribs: compilation fix for x86_64 Macs
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=13c669e10239056512d027a59e366acce313df4f
---
extras/contrib/src/Makefile | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index cbfc5c7..6fe11a8 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -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)
More information about the vlc-devel
mailing list