[vlc-devel] [PATCH 1/3] contrib: postproc: Don't assume that	windows implies x86
    Martin Storsjö 
    martin at martin.st
       
    Thu Jan  4 22:17:27 CET 2018
    
    
  
Check ARCH instead of HAVE_WIN64.
---
 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 e8bc003..3778981 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
-- 
2.7.4
    
    
More information about the vlc-devel
mailing list