[vlc-commits] contrib:mpg123: fix cpu detection with MSVC

Steve Lhomme git at videolan.org
Mon May 16 16:42:31 CEST 2016


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Mon May 16 16:38:43 2016 +0200| [b961496532f91f713f3e2a0278cf4b9265591252] | committer: Jean-Baptiste Kempf

contrib:mpg123: fix cpu detection with MSVC

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b961496532f91f713f3e2a0278cf4b9265591252
---

 contrib/src/mpg123/rules.mak |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/contrib/src/mpg123/rules.mak b/contrib/src/mpg123/rules.mak
index 99c4250..f2346b8 100644
--- a/contrib/src/mpg123/rules.mak
+++ b/contrib/src/mpg123/rules.mak
@@ -14,6 +14,11 @@ ifeq ($(ANDROID_ABI), x86)
 MPG123CONF += --with-cpu=generic_fpu
 endif
 endif
+ifdef HAVE_VISUALSTUDIO
+ifeq ($(ARCH), x86_64)
+MPG123CONF += --with-cpu=generic_dither
+endif
+endif
 
 $(TARBALLS)/mpg123-$(MPG123_VERSION).tar.bz2:
 	$(call download,$(MPG123_URL))



More information about the vlc-commits mailing list