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

Jean-Baptiste Kempf git at videolan.org
Mon May 16 16:39:16 CEST 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon May 16 16:38:43 2016 +0200| [da3c702eb086500ec30e420b5f19c8613459b939] | committer: Jean-Baptiste Kempf

contribs:mpg123: fix cpu detection with MSVC

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

 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