[vlc-commits] contrib: x264: Fix building for aarch64/windows after the recent x264 update
Martin Storsjö
git at videolan.org
Thu Mar 29 09:42:47 CEST 2018
vlc | branch: master | Martin Storsjö <martin at martin.st> | Thu Mar 29 10:40:20 2018 +0300| [31c65810c27b492316e7a32925e599f5bea9db31] | committer: Martin Storsjö
contrib: x264: Fix building for aarch64/windows after the recent x264 update
The current version of x264 defaults to using gas-preprocessor and
arasm64 for this target. Override it to use plain $(CC) instead.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=31c65810c27b492316e7a32925e599f5bea9db31
---
contrib/src/x264/rules.mak | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/contrib/src/x264/rules.mak b/contrib/src/x264/rules.mak
index d63a788a0f..4519640a7d 100644
--- a/contrib/src/x264/rules.mak
+++ b/contrib/src/x264/rules.mak
@@ -39,6 +39,11 @@ X264CONF += --enable-win32thread
ifeq ($(ARCH), arm)
X264_AS = AS="./tools/gas-preprocessor.pl -arch arm -as-type clang -force-thumb -- $(CC) -mimplicit-it=always"
endif
+ifeq ($(ARCH),aarch64)
+# Configure defaults to gas-preprocessor + armasm64 for this target,
+# unless overridden.
+X264_AS = AS="$(CC)"
+endif
endif
ifdef HAVE_CROSS_COMPILE
X264CONF += --cross-prefix="$(HOST)-"
More information about the vlc-commits
mailing list