[vlc-commits] contrib: postproc: Don't assume that windows implies x86

Martin Storsjö git at videolan.org
Sat Jan 6 12:26:47 CET 2018


vlc/vlc-3.0 | branch: master | Martin Storsjö <martin at martin.st> | Sat Dec 16 21:08:59 2017 +0200| [8012ff5a78d174c46f27af6a1e08a0c5a0f910de] | committer: Jean-Baptiste Kempf

contrib: postproc: Don't assume that windows implies x86

Check ARCH instead of HAVE_WIN64.

(cherry picked from commit 202f9d070449abcc826f87330bd4bad151201453)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 contrib/src/postproc/rules.mak | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/contrib/src/postproc/rules.mak b/contrib/src/postproc/rules.mak
index e8bc00396e..3778981f57 100644
--- a/contrib/src/postproc/rules.mak
+++ b/contrib/src/postproc/rules.mak
@@ -87,9 +87,10 @@ endif
 # Windows
 ifdef HAVE_WIN32
 POSTPROCCONF += --target-os=mingw32
-ifdef HAVE_WIN64
+ifeq ($(ARCH),x86_86)
 POSTPROCCONF += --cpu=athlon64 --arch=x86_64
-else # !WIN64
+endif
+ifeq ($(ARCH),i386)
 POSTPROCCONF+= --cpu=i686 --arch=x86
 endif
 else



More information about the vlc-commits mailing list