[vlc-commits] [Git][videolan/vlc][master] contrib: fxc2: Build an aarch64 version of fxc2 if doing the build on aarch64
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Mar 10 11:28:57 UTC 2023
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
1b84d610 by Martin Storsjö at 2023-03-10T10:07:03+00:00
contrib: fxc2: Build an aarch64 version of fxc2 if doing the build on aarch64
Bump to a newer version of the fxc2 repo, that support aarch64.
The fxc2 tool in contribs isn't meant to be built for the cross
target, but to run on the build host; therefore, pick an
aarch64 mingw cross compiler if running on aarch64 linux.
- - - - -
1 changed file:
- contrib/src/fxc2/rules.mak
Changes:
=====================================
contrib/src/fxc2/rules.mak
=====================================
@@ -1,4 +1,4 @@
-FXC2_HASH := 63ad74b7faa7033f2c1be9cc1cd0225241a1a9a5
+FXC2_HASH := 654c29d62a02714ea0bacfb118c3e05127f846e0
FXC2_VERSION := git-$(FXC2_HASH)
FXC2_GITURL := $(GITHUB)/mozilla/fxc2.git
@@ -20,7 +20,10 @@ fxc2: fxc2-$(FXC2_VERSION).tar.xz .sum-fxc2
$(APPLY) $(SRC)/fxc2/0004-Revert-Fix-narrowing-conversion-from-int-to-BYTE.patch
$(MOVE)
-ifeq ($(ARCH),x86_64)
+ifeq ($(shell uname -m),aarch64)
+FXC2_CXX=aarch64-w64-mingw32-g++
+FXC2_DLL=dll/d3dcompiler_47_arm64.dll
+else ifeq ($(ARCH),x86_64)
FXC2_CXX=$(CXX)
FXC2_DLL=dll/d3dcompiler_47.dll
else ifeq ($(ARCH),i386)
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1b84d610bc8dedbd8360f592be0563968fe20230
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1b84d610bc8dedbd8360f592be0563968fe20230
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list