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

Martin Storsjö git at videolan.org
Fri Jan 5 21:42:52 CET 2018


vlc | branch: master | Martin Storsjö <martin at martin.st> | Sat Dec 16 21:08:59 2017 +0200| [202f9d070449abcc826f87330bd4bad151201453] | committer: Martin Storsjö

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

Check ARCH instead of HAVE_WIN64.

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

 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